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.
npm install steal-socket.io --save
MIT