steal-ssr-socket.io
v4.0.10
Published
Wrap socket.io for SSR and testing
Downloads
3
Readme
steal-socket.io
Wrap socket.io for SSR and testing
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