nodejs/undici
An HTTP/1.1 client, written from scratch for Node.js observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 3036
- days_rel: 30
- days_push: 8
- n_releases_24m: 80
Adoption not part of the score
7682 stars · 846 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Undici is a fast HTTP/1.1 client library for Node.js, written from scratch, that also provides WHATWG-compliant fetch, WebSocket, EventSource, and related web standard implementations. It offers low-level dispatchers (Client, Pool, Agent), proxy support, interceptors, and mocking utilities for testing.
Use cases
- make fast HTTP requests from Node.js
- replace Node's built-in fetch with a faster implementation
- polyfill fetch and web standard APIs globally
- pool and reuse HTTP connections for high throughput
- make requests through HTTP or SOCKS5 proxies
- mock HTTP requests in tests
- stream HTTP response bodies
- retry failed requests automatically
When to choose
- you need maximum HTTP client performance in Node.js with pipelining and keep-alive
- you want consistent, spec-compliant fetch/WebSocket/EventSource behavior across Node versions
- you need fine-grained control over connections, pooling, proxies, or retries
- you want to mock HTTP calls in your test suite
When to avoid
- you only need simple, occasional HTTP requests and built-in fetch suffices
- you need HTTP/2 or HTTP/3 client features as the primary protocol
- you are not on Node.js
- you need a browser-side HTTP client
Facets
library · maturity stable
http-client web-framework testing mocking web-development backend apis developer-tools http1.1 fetch websocket eventsource connection-pooling proxy-support whatwg-standards high-performance nodejs javascript
6 sources
- readme: https://github.com/nodejs/undici · fetched 2026-08-28 · 908eb4acab19
- homepage: https://undici.nodejs.org/ · fetched 2026-08-29 · 7fea70f8c554
- site_page: https://nodejs.org/about · fetched 2026-08-29 · 6d9fccdb9ff7
- site_page: https://undici.nodejs.org/getting-started · fetched 2026-08-29 · 73a3faef99a8
- site_page: https://undici.nodejs.org/api/GlobalInstallation · fetched 2026-08-29 · fbd447c69e64
- site_page: https://undici.nodejs.org/docs/docs/api/Dispatcher.html · fetched 2026-08-29 · f4354a57fc83
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nodejs/undici | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem