Which Node.js HTTP client in 2024?
summary
Compares Axios, node-fetch, Requests (deprecated) and undici, with measurable claims: libraries maintained hit 22 billion downloads in 2023 and aim for 29–30 billion in 2024. Explains undici as a ground-up HTTP/1.1 client that avoids core http/https, implements connection pooling, supports HTTP/2 and optional HTTP pipelining, and powers Node’s fetch implementation; benchmarks show undici remains the fastest and fetch (Node 22+) is fast enough for most production needs. Demo client built on fetch works end to end.
AI-written summary · about
chapters (13)
- 0:00Node.js HTTP clients intro
- 2:16Popular HTTP clients overview
- 6:31Introducing unichi
- 8:42Why unichi was created
- 12:20HTTP clients performance
- 13:02HTTP pipelining explained
- 15:30unichi architecture
- 19:45unichi interceptors
- 21:13Platformatic intro
- 22:18Live demo: Platformatic
- 25:35Q&A: Fetch limitations
- 30:44Q&A: HTTP/3 support
- 31:49Q&A: Future-proof clients








