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

Package detail

socket.io-client

socketio29.8mMIT4.8.3TypeScript 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