
Socket.IO
Library that enables low-latency, bidirectional and event-based communication between a client and a server.
Socket.IO is a library for low-latency, bidirectional and event-based communication between a client and a server. The server is installed from the socket.io npm package with npm, Yarn, pnpm or Bun, and the browser client is a separate package. The client can also be loaded from a CDN. The connection uses WebSocket for transport when possible and falls back to HTTP long-polling when the WebSocket connection cannot be established.
Worth knowing
Socket.IO is not a WebSocket implementation. It adds its own metadata to each packet on top of the transport, so a plain WebSocket client does not speak it. The docs advise against using it in a background service for mobile applications, because the library keeps an open TCP connection to the server.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-11-03: links, Categories
socket.io - 2026-11-03: links, First release, GitHub stars, Contributors
github.com/socketio/socket.io - 2026-11-03: links, Categories
socket.io/docs/v4/ - 2026-11-03: Maintainer, License
github.com/socketio/socket.io/blob/main/LICENSE - 2026-11-03: Written in
api.github.com/repos/socketio/socket.io/languages - 2026-11-03: Runtime, Install with
socket.io/docs/v4/server-installation/ - 2026-11-03: Minimum runtime, Last release
registry.npmjs.org/socket.io/latest - 2026-11-03: Install with
socket.io/docs/v4/client-installation/ - 2026-11-03: Current major version
github.com/socketio/socket.io/releases - 2026-11-03: npm downloads a week
api.npmjs.org/downloads/range/2026-10-26:2026-11-01/socket.io - 2026-11-03: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/socket.io