UNPKG

1.39 kBMarkdownView Raw
1
2# socket.io-client
3
4[![Build Status](https://github.com/socketio/socket.io-client/workflows/CI/badge.svg)](https://github.com/socketio/socket.io-client/actions)
5[![Dependency Status](https://david-dm.org/socketio/socket.io-client.svg)](https://david-dm.org/socketio/socket.io-client)
6[![devDependency Status](https://david-dm.org/socketio/socket.io-client/dev-status.svg)](https://david-dm.org/socketio/socket.io-client#info=devDependencies)
7[![NPM version](https://badge.fury.io/js/socket.io-client.svg)](https://www.npmjs.com/package/socket.io-client)
8![Downloads](http://img.shields.io/npm/dm/socket.io-client.svg?style=flat)
9[![](http://slack.socket.io/badge.svg?)](http://slack.socket.io)
10
11[![Sauce Test Status](https://saucelabs.com/browser-matrix/socket.svg)](https://saucelabs.com/u/socket)
12
13## Documentation
14
15Please see the documentation [here](https://socket.io/docs/v3/client-initialization/).
16
17The source code of the website can be found [here](https://github.com/socketio/socket.io-website). Contributions are welcome!
18
19## Debug / logging
20
21In 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:
22
23```
24localStorage.debug = '*';
25```
26
27And then, filter by the scopes you're interested in. See also: https://socket.io/docs/v3/logging-and-debugging/
28
29## License
30
31[MIT](/LICENSE)