https://github.com/stealjs/steal-socket.io
A small wrapper that lets you use socket.io on the client and server
https://github.com/stealjs/steal-socket.io
Last synced: 6 months ago
JSON representation
A small wrapper that lets you use socket.io on the client and server
- Host: GitHub
- URL: https://github.com/stealjs/steal-socket.io
- Owner: stealjs
- License: mit
- Created: 2015-09-25T19:27:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T19:35:17.000Z (almost 6 years ago)
- Last Synced: 2024-04-23T07:20:23.235Z (about 1 year ago)
- Language: JavaScript
- Size: 78.1 KB
- Stars: 2
- Watchers: 12
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# steal-socket.io
Wrap socket.io for SSR and testing
[](https://travis-ci.org/stealjs/steal-socket.io)
[](http://badge.fury.io/js/steal-socket.io)A small wrapper for `socket.io` that eliminates a lot of configuration and prevents you from having to worry about whether you are running in the client or server.
It also helps with testing or demoing your application against fixtures. It can delay establishing socket connection so that we can mock socket server responses for testing. Works well with [can-fixture-socket](http://v3.canjs.com/doc/can-fixture-socket.html).
See full documentation here: [StealJS / Ecosystem / steal-socket.io](https://stealjs.github.io/stealjs/docs/steal-socket.io.html).
## Install
```shell
npm install steal-socket.io --save
```## License
MIT