A progressive Node.js framework for building efficient, scalable server-side applications in TypeScript or JavaScript.
socketio/socket.io
Socket.IO is a library for real-time, bidirectional, low-latency event-based communication between clients and servers.
- Stars
- 63,220
- Forks
- 10,221
- Open issues
- 187
- Last commit
- 22 days ago
What is it?
Socket.IO enables real-time, bidirectional communication between web clients and servers. It is built on top of WebSocket and provides fallbacks when a WebSocket connection is not available, with features such as automatic reconnection and packet buffering.
The library is written in TypeScript and runs on Node.js, with client implementations for browsers and other platforms. Developers exchange named events with arbitrary payloads, and the server can broadcast messages to groups of connected sockets.
It suits applications that need instant updates in both directions, such as chat, live notifications, collaborative editing, or multiplayer games.
Key features
- 01Bidirectional, event-based messaging between client and server
- 02Automatic reconnection and packet buffering
- 03Fallback transports when WebSocket is unavailable
- 04Broadcasting messages to rooms and groups of sockets
- 05Client libraries for browsers and other platforms
Use cases
- Building real-time chat or messaging features
- Pushing live notifications and dashboard updates to users
- Synchronizing state in collaborative or multiplayer applications
Quick start
- 1
Read the documentation for getting started
Topics
FAQ
- What is socket.io?
- Socket.IO is a library for real-time, bidirectional, low-latency event-based communication between clients and servers. Socket.IO enables real-time, bidirectional communication between web clients and servers. It is built on top of WebSocket and provides fallbacks when a WebSocket connection is not available, with features such as automatic reconnection and packet buffering.
- Is socket.io free to use? What license does it have?
- socket.io is open source under the MIT license. Check the license terms before using it in commercial products.
- Is socket.io still maintained?
- Actively maintained. The last commit to socket.io was on Sep 29, 2026.
- What can I use socket.io for?
- Building real-time chat or messaging features Pushing live notifications and dashboard updates to users Synchronizing state in collaborative or multiplayer applications
- How do I install socket.io?
- Read the documentation for getting started
- Where can I get socket.io?
- The source code and installation instructions are on GitHub: https://github.com/socketio/socket.io
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A Rails-like full-stack framework for React, Node.js and Prisma that generates a web app's code from a declarative spec file.
Authoritative multiplayer framework for Node.js with state sync, room-based matchmaking, and client SDKs for web, Unity, Godot and more.
A JavaScript library for building multiplayer web apps where browsers connect peer-to-peer over WebRTC without running your own server.
A fast all-in-one JavaScript and TypeScript toolkit: runtime, bundler, test runner, and package manager in a single executable.
A TypeScript and JavaScript ORM for Node.js and other JS platforms, supporting both Active Record and Data Mapper patterns across many SQL and NoSQL databases.