Nuclear Powered Marshmallows
    Wondering what’s next for npm?Check out our public roadmap! »

    sockjs-client-ws-mimic

    1.0.2 • Public • Published

    Install: npm install sockjs-client-ws-mimic

    sockjs-client-ws-mimic

    Drop in replacement for sockjs-client for Node.js. Perfect for building both client and node.js tests with same client-side code.

    Why mimic?

    I needed a way to build both the JavaScript client library and a Node.js library for testing. Using this you can simply change the included library and use same syntanx for testing and client APIs.

    Why extend sockjs-client-ws?

    • More reliable than sockjs-client-node and sockjs-client (same name as real sock.js client but not the same module) modules
    • Supports multiple connections (perfect for testing)

    Keywords

    none

    Install

    npm i sockjs-client-ws-mimic

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • avatar