30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
|
||
# socket.io-client
|
||
|
||
[](https://github.com/socketio/socket.io-client/actions)
|
||
[](https://www.npmjs.com/package/socket.io-client)
|
||

|
||
[](http://slack.socket.io)
|
||
|
||
[](https://saucelabs.com/u/socket)
|
||
|
||
## Documentation
|
||
|
||
Please see the documentation [here](https://socket.io/docs/v4/client-initialization/).
|
||
|
||
The source code of the website can be found [here](https://github.com/socketio/socket.io-website). 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](/LICENSE)
|