# undici: 8.3 out of 10

A strong pick. 1st of 10 in [HTTP clients](https://elestia.ai/opensource/http-clients/index.md).

undici is the HTTP client that the Node.js project maintains. Node's built-in fetch runs on it. Installing the package gets you a newer fetch, plus lower-level request, stream and pool APIs, proxy agents, mocking, caching, HTTP/2 and WebSocket. For Node.js servers it is one of the strongest and best-maintained choices today, but it does not run in the browser and it ships security fixes often.

**Best for:** Node.js backend teams that want the fastest, standards-based HTTP client with connection pooling, proxies and request mocking from the Node.js project itself.

## Scores

- **Overall: 8.3** (likely 7.3 to 9.0)
  - Claude Opus 5.5 (8.0): For Node.js server code, undici is the best-maintained and fastest client in the category, and it is the same engine as Node's fetch. That makes it a strong pick ahead of got, node-fetch and axios for backend work. It is not the category default, because it runs on Node only and has a steady stream of security advisories. For browser or universal code, use fetch or Ky.
  - GPT-6.2 Sol (8.5): Undici is a leading choice for new Node.js services that need high throughput or control over pooling, proxies, and streaming. Built-in fetch covers ordinary Node.js requests, and Axios is a better fit for teams that share client code with the browser. Active maintenance and downstream use support a strong recommendation, with some uncertainty from major-version migration costs and performance differences across workloads.
- **Needed by many: 5.9** (likely 4.8 to 7.0)
  - Claude Opus 5.5 (6.0): Sending HTTP requests is a near-universal need, but undici serves only Node.js, not browsers or edge runtimes. Many Node developers get it through global fetch without installing it. That makes the group who need the package itself a large server-side group, not most JS developers.
  - GPT-6.2 Sol (5.8): Sending HTTP requests is common across JavaScript projects, and 46.4% of respondents to the 2026 Stack Overflow web technology question reported using Node.js. The standalone package serves Node.js projects that need more control than built-in fetch offers. The survey measures runtime use, so the share that needs those controls remains uncertain.
- **Helps a lot: 8.6** (likely 7.6 to 9.3)
  - Claude Opus 5.5 (8.5): It is a spec-compliant fetch plus faster request, stream and pipeline APIs, with pools, proxy agents, MockAgent, interceptors (retry, cache, decompress), HTTP/2, WebSocket and EventSource. An independent benchmark puts undici-pool and undici-request well ahead of axios, got and node-fetch. Its limits: it runs on Node only, the dispatcher API is low-level, and conveniences such as hooks are less polished than in got or ky.
  - GPT-6.2 Sol (8.7): Undici 8.13.1 offers HTTP/1.1 pipelining, HTTP/2, streaming, and request mocking. Independent local tests favor undici.request over Axios, with the margin depending on connection settings and workload. Familiar Fetch calls, TypeScript types, and documented examples help coding agents get started. Stream cleanup and version-specific dispatcher behavior leave more room for mistakes.
- **Holds up over time: 9.0** (likely 7.9 to 9.6)
  - Claude Opus 5.5 (9.0): The Node.js project owns it, and Node core depends on it, so it is very unlikely to be abandoned. In the last year it had 814 commits, 68 releases and 443 contributors in total, with the latest release a day before the read date. Major versions do break code, such as v8 requiring Node 22.19+ and changing the handler API, but migration guides are published.
  - GPT-6.2 Sol (8.9): Undici shipped 68 releases and recorded 814 commits over the past year, more commits than any listed peer. Four listed releasers, support aligned with Node.js LTS, and OpenJS security infrastructure make continued maintenance likely. Users reported compatibility problems when mixing v8 with older bundled copies, and the v8 migration changes custom handlers and HTTP/2 defaults. The aggregate activity figures leave typical issue and pull request turnaround uncertain.
- **Used widely: 7.5** (likely 6.3 to 8.6)
  - Claude Opus 5.5 (7.5): Downloads rose from 115M to 1.32B per 4 weeks, a ratio of about 11.5 against the median of 4.1. Much of that likely comes from popular tools that install it as a dependency. Its 98k dependent repos are fewer than axios, got or node-fetch have, but far more than ky or ofetch. Counting the many projects that use it through Node's built-in fetch, its real reach is larger still.
  - GPT-6.2 Sol (7.5): Four-week downloads rose 11.5-fold, well above the 4.1-fold catalog median. Ecosyste.ms found about 98,000 dependent repositories, ahead of Ky and behind Axios, Got, and node-fetch. Node.js bundles Undici for fetch, while tools such as node-gyp add npm installs through their own dependencies. Both effects leave the number of projects choosing the npm package directly uncertain.
- **Vouched for: 8.3** (likely 7.3 to 9.3)
  - Claude Opus 5.5 (8.0): Node.js itself ships it as global fetch, which is the strongest backing an HTTP client can have. Independent benchmarks and 2026 comparison guides place it as the high-performance Node client. Survey data and user write-ups about it as a standalone package are thin, which keeps the score from going higher.
  - GPT-6.2 Sol (8.6): Node.js relies on Undici for built-in fetch, and both discord.js REST and Cloudflare's Workers SDK depend on it. Independent benchmarks also report throughput gains for the low-level request API. The available survey measures Node.js use, so satisfaction with Undici itself is harder to estimate.
- **Safe: 7.4** (likely 6.3 to 8.4)
  - Claude Opus 5.5 (7.0): It has zero dependencies, an MIT licence and an OpenSSF Scorecard of 8.3 with fuzzing, SAST and code review. But 42 advisories in 24 months is a lot, including HIGH TLS validation bypass and cache poisoning issues in October 2026. These were fixed in coordinated releases and backported, which shows good handling, but users must upgrade often. The Token-Permissions and CII-Best-Practices checks both score 0.
  - GPT-6.2 Sol (7.7): Undici has an MIT license, zero runtime dependencies, and a GitHub Actions workflow that publishes to npm using OIDC. The 8.3 OpenSSF Scorecard shows strong review and fuzzing, a zero for workflow token permissions, and an unscored Signed Releases check. October fixes shipped by public disclosure, and a November patch completed an earlier cache fix. The need for that follow-up and the steady stream of protocol advisories keep the range wide.

## Good

- It is the engine behind Node's global fetch and is maintained by Node.js core contributors, with very active development.
- Its request and pool APIs come out well ahead of axios, got and node-fetch in independent client-overhead benchmarks.
- It has zero dependencies and ships its own types, and MockAgent, ProxyAgent, interceptors and caching are built in.
- Security fixes ship in coordinated releases that are backported to the 6.x, 7.x and 8.x lines.

## Bad

- It runs on Node.js only, so code shared with the browser needs fetch or a wrapper such as Ky.
- The advisory count is high: 42 in 24 months, several of them HIGH (TLS validation bypass, cache poisoning), so users must update often.
- Major versions break code: v8 requires Node 22.19+, drops legacy handlers and turns on HTTP/2 by default.
- The dispatcher and handler APIs are low-level, and its fetch is slower than its own request API.

## The numbers

- Downloads, 4 weeks: 1.3B
- In a year: ×11
- GitHub stars: 7.7k
- Commits, 12 months: 814
- Last npm release: Nov 2026
- Advisories, 24 months: 42
- Licence: MIT
- GitHub: https://github.com/nodejs/undici
- npm: https://www.npmjs.com/package/undici

Node.js ships undici as its built-in fetch, so the downloads count only projects that install it as a package.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
