node-fetch
Bring the Fetch API to Node.js for making HTTP requests.
HTTP clients and networking npm MIT
Used in agent projects
219
1.7% of 12,697 public repos built with AI coding agents
Rank in http clients and networking
#7 of 29
by use in those projects
Downloads
207M
npm, last 7 days, node-fetch
GitHub stars
8,852
last push May 12, 2026
How node-fetch is used
node-fetch is a dependency in 219 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.7%), #7 of 29 in http clients and networking. The most used alternative there is Axios. Projects that use it most often also use dotenv (63.0%), Axios (36.5%), Express (29.2%).
Often used with node-fetch
| dotenv | 63.0% of node-fetch projects · 4.0× more than average |
|---|---|
| Axios | 36.5% of node-fetch projects · 3.7× more than average |
| Express | 29.2% of node-fetch projects · 4.5× more than average |
| ts-node | 25.1% of node-fetch projects · 3.7× more than average |
| Solana Web3.js | 38.4% of node-fetch projects · 2.3× more than average |
| TypeScript | 69.4% of node-fetch projects |
| uuid | 20.5% of node-fetch projects · 5.7× more than average |
| cors | 19.6% of node-fetch projects · 5.9× more than average |
By coding agent
| Cursor | 2.7% of projects set up for it |
|---|---|
| GitHub Copilot | 1.7% of projects set up for it |
| Claude Code | 1.2% of projects set up for it |
| Gemini CLI | 2.1% of projects set up for it |
| OpenAI Codex | 1.6% of projects set up for it |
| Devin Desktop | 1.8% of projects set up for it |
| OpenCode | 1.6% of projects set up for it |
Share of public repos configured for each agent that list node-fetch as a dependency.
Install
| Package | npm install node-fetch |
|---|---|
| Main stacks | TypeScript / JavaScript (148), Next.js (52), Python (9), Rust (9) |
| Example projects | NeurProjects/neur-app, blockscout/frontend, dutradotdev/mcp-portal-transparencia, ask-the-hive/the-hive, firefly-sol/jupiter-arb |
Alternatives to node-fetch
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Axios npm Promise-based HTTP client for browser and Node.js with interceptors. |
1,264 (10.0%) | 115M | 109K | MIT |
| Requests pypi Elegant Python HTTP library for making web requests. |
675 (5.3%) | 309M | 54.6K | Apache-2.0 |
| aiohttp pypi Async HTTP client/server framework for Python with WebSocket support. |
295 (2.3%) | 117M | 16.6K | — |
| ws npm Simple, fast WebSocket client and server for Node.js with full RFC support. |
287 (2.3%) | 283M | 22.8K | MIT |
| websockets pypi WebSocket implementation for Python with RFC 6455 and 7692 compliance. |
286 (2.3%) | 109M | 5,732 | — |
| httpx pypi Modern Python HTTP client with async support, replacing the standard requests library. |
266 (2.1%) | 16M | 15.6K | BSD-3-Clause |
| urllib3 pypi HTTP client with thread-safe connection pooling, file uploads and advanced features. |
193 (1.5%) | 338M | 4,071 | — |
| AnyIO pypi Async I/O framework supporting both asyncio and Trio with high-level networking abstractions. |
186 (1.5%) | 206M | 2,555 | — |