Matteo Collina on Nostr: Quite a few people have asked me what HTTP client I recommend for Node.js. In concert ...
Quite a few people have asked me what HTTP client I recommend for Node.js.
In concert with my friend Ethan Arrowood, we have prepared a benchmark for you to decide.
If your application mostly does HTTP API calls, use `undici.request` directly, you'll experience a 3x acceleration compared to got, fetch, axios or node-fetch. fetch is getting faster but still behind all other high-level APIs.
Let me know if you have any more questions!
In concert with my friend Ethan Arrowood, we have prepared a benchmark for you to decide.
If your application mostly does HTTP API calls, use `undici.request` directly, you'll experience a 3x acceleration compared to got, fetch, axios or node-fetch. fetch is getting faster but still behind all other high-level APIs.
Let me know if you have any more questions!
