Y
Hacker News
new
|
ask
|
show
|
jobs
by
augusto-moura
72 days ago
Hm, I don't think axios would do much better here. `fetch` is the official replacement for axios. If both are flawed that's another topic
2 comments
cyco130
72 days ago
Axios has maxContentLength and maxBodyLength options. I would probably go with undici nowadays though (it also has maxResponseSize).
link
nailer
72 days ago
> `fetch` is the official replacement for axios.
No. Axios is still maintained. They have not deprecated the project in favor of fetch.
link
augusto-moura
72 days ago
I'm not saying that axios is unmaintained, I'm saying that if you want something like axios from the standard lib, fetch is the closest thing you get to official
link
nailer
72 days ago
Sure but Axios determine what the official replacement for Axios is.
link
kube-system
72 days ago
It's not deprecated, it's obsoleted.
link