Build a real-time chat application where messages appear instantly in the browser without page reloads.
Add live dashboard updates to a web app so data refreshes automatically as the server pushes new numbers.
Connect a Node.js process to a Socket.IO server for real-time server-to-server event messaging.
This repository is archived, install the client package via npm from the main Socket.IO monorepo instead.
Socket.IO Client is the JavaScript library that enables real-time communication between web browsers (or Node.js environments) and a server. It is described as a realtime application framework for the client side. The library was built to pair with the Socket.IO server library, creating a way for applications to send and receive messages instantly, without the page needing to reload. The practical use case is any feature that requires live updates: a chat application where messages appear as soon as someone sends them, a dashboard that refreshes its numbers automatically, a collaborative document where two people can type at the same time and see each other's changes, or a multiplayer feature where player actions propagate in real time. Socket.IO handles the connection management and message passing, so the developer does not have to manage the underlying protocol by hand. The library works with WebSockets as its preferred transport, but it can fall back to older methods when WebSockets are not available in the browser or are blocked by a firewall. The topic tags on the repository list browser, javascript, nodejs, socket-io, and websocket, which describe where the library runs and what protocols it builds on. This specific repository is now archived. Its code and full commit history have been merged into the main Socket.IO monorepo (socketio/socket.io on GitHub). That consolidation means all active development, new issues, and contributions happen there rather than here. If you need to install or use Socket.IO Client today, the package is still published to npm and the current source lives in the monorepo. The library was primarily used in JavaScript projects, both in the browser and in Node.js scenarios. Because the two sides of a Socket.IO connection (client and server) share the same event model, the code pattern stays consistent: you emit an event on one side and listen for it on the other.
← socketio on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.