Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

socket.io-client

socketio15.6mMIT4.8.1TypeScript support: included

Realtime application framework client

realtime, framework, websocket, tcp, events, client

readme

socket.io-client

Build Status NPM version Downloads

Sauce Test Status

Documentation

Please see the documentation here.

The source code of the website can be found here. Contributions are welcome!

Debug / logging

In order to see all the client debug output, run the following command on the browser console – including the desired scope – and reload your app page:

localStorage.debug = '*';

And then, filter by the scopes you're interested in. See also: https://socket.io/docs/v4/logging-and-debugging/

License

MIT

changelog

Changelog

Here are the detailed changelogs for each package in this monorepo:

Package Changelog
engine.io link
engine.io-client link
engine.io-parser link
socket.io link
socket.io-adapter link
socket.io-client link
`@socket.io/cluster-engine` link
`@socket.io/component-emitter` link
socket.io-parser link