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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i sockjs-client-ws-mimic

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • herkyl