steal-socket.io

4.2.0 • Public • Published

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

/steal-socket.io/

    Package Sidebar

    Install

    npm i steal-socket.io

    Weekly Downloads

    12

    Version

    4.2.0

    License

    MIT

    Unpacked Size

    21.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • ilyavf
    • justinbmeyer
    • marshallswain
    • matthewp