Axios vs undici
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Axios is a dependency in 472 (9.7%) and undici in 105 (2.2%): Axios is 4.5× as common. Among repos created in the last 90 days that use a http clients and networking tool, Axios is in 22.9% and undici in 22.9%, against 45.2% and 9.4% of older ones. 20 projects list both, often a sign of a migration or of a monorepo with several apps.
HTTP clients and networking npm Updated Nov 17, 2026
Side by side
| Axios | undici | |
|---|---|---|
| Agent projects that use it | 472 | 105 |
| Rank in http clients and networking | #1 | #10 |
| In new repos with a http clients and networking tool (last 90 days) | 22.9% | 22.9% |
| In older repos with one | 45.2% | 9.4% |
| Downloads, last 7 days | 144M | 34M |
| GitHub stars | 109K | 7,740 |
| Last push to its repo | Nov 16, 2026 | Nov 17, 2026 |
| License | MIT | MIT |
| Funding | Yes | Yes |
| Projects that list both | 20 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | Axios | undici |
|---|---|---|---|
| Claude Code | 2,617 | 8.7% | 3.0% |
| GitHub Copilot | 2,350 | 9.4% | 2.4% |
| Cursor | 1,990 | 12.3% | 1.1% |
| Gemini CLI | 422 | 13.7% | 6.4% |
| OpenAI Codex | 409 | 10.8% | 2.0% |
| OpenCode | 304 | 12.8% | 2.6% |
| OpenClaw | 241 | 6.6% | 16.2% |
| Devin Desktop | 231 | 11.3% | 0% |
| Kiro | 125 | 10.4% | 0% |
| Roo-Code | 90 | 10.0% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Axios
Promise-based HTTP client for browser and Node.js with interceptors.
Most often used with it:
| Tailwind CSS | 60.8% of its projects |
|---|---|
| concurrently | 27.8% of its projects |
| Vite | 43.9% of its projects |
| TypeScript | 69.7% of its projects |
| ESLint | 54.0% of its projects |
npm install axios
undici
High-performance HTTP/1.1 client for Node.js and Deno.
Most often used with it:
| tsx | 69.5% of its projects |
|---|---|
| Vitest | 75.2% of its projects |
| Zod | 81.0% of its projects |
| ws | 53.3% of its projects |
| dotenv | 56.2% of its projects |
npm install undici
More matchups
Axios vs node-fetchRequests vs httpxhttpx vs aiohttphttpx vs urllib3Requests vs urllib3ws vs Socket.IO Clientws vs Socket.IO
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.