Socket.IO
Real-time bidirectional communication library for Node.js with fallback transports.
HTTP clients and networking npm MIT
Used in agent projects
121
1.0% of 12,697 public repos built with AI coding agents
Rank in http clients and networking
#15 of 29
by use in those projects
Downloads
19M
npm, last 7 days, socket.io
GitHub stars
63.2K
last push Sep 29, 2026
How Socket.IO is used
Socket.IO is a dependency in 121 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.0%), #15 of 29 in http clients and networking. The most used alternative there is Axios. Projects that use it most often also use Express (67.8%), Socket.IO Client (52.1%), dotenv (55.4%).
Often used with Socket.IO
| Express | 67.8% of Socket.IO projects · 10.5× more than average |
|---|---|
| Socket.IO Client | 52.1% of Socket.IO projects · 45.0× more than average |
| dotenv | 55.4% of Socket.IO projects · 3.5× more than average |
| cors | 41.3% of Socket.IO projects · 12.4× more than average |
| Axios | 36.4% of Socket.IO projects · 3.7× more than average |
| nodemon | 30.6% of Socket.IO projects · 17.3× more than average |
| ts-node | 28.1% of Socket.IO projects · 4.1× more than average |
| uuid | 26.4% of Socket.IO projects · 7.4× more than average |
By coding agent
| Claude Code | 1.0% of projects set up for it |
|---|---|
| Cursor | 1.1% of projects set up for it |
| GitHub Copilot | 0.7% of projects set up for it |
| Gemini CLI | 1.8% of projects set up for it |
Share of public repos configured for each agent that list Socket.IO as a dependency.
Install
| Package | npm install socket.io |
|---|---|
| Main stacks | TypeScript / JavaScript (87), Next.js (29), Python (3), Rust (1) |
| Example projects | 5pyj29s7cm-tech/LumiCore, leyten/c0mpute, juanfran/tapiz, SurfSolana/SolSurfer, LastBotInc/nextjs-supabase-ai-webapp |
Alternatives to Socket.IO
| 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 |
| node-fetch npm Bring the Fetch API to Node.js for making HTTP requests. |
219 (1.7%) | 207M | 8,852 | MIT |
| urllib3 pypi HTTP client with thread-safe connection pooling, file uploads and advanced features. |
193 (1.5%) | 338M | 4,071 | — |