stealjs / steal-socket.io

A small wrapper that lets you use socket.io on the client and server
MIT License
2 stars 3 forks source link

steal-socket.io

Wrap socket.io for SSR and testing

Build Status npm version

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.

See full documentation here: StealJS / Ecosystem / steal-socket.io.

Install

npm install steal-socket.io --save

License

MIT