~/talk

Which Node.js HTTP client in 2024?

Talkat Frontend Nation 2024 · 2024-06-04..06-07· [nodejs]
slides:none on file

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

  1. 0:00Node.js HTTP clients intro
  2. 2:16Popular HTTP clients overview
  3. 6:31Introducing unichi
  4. 8:42Why unichi was created
  5. 12:20HTTP clients performance
  6. 13:02HTTP pipelining explained
  7. 15:30unichi architecture
  8. 19:45unichi interceptors
  9. 21:13Platformatic intro
  10. 22:18Live demo: Platformatic
  11. 25:35Q&A: Fetch limitations
  12. 30:44Q&A: HTTP/3 support
  13. 31:49Q&A: Future-proof clients
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.