sockjs-client-nodedeprecated

A Node.js wrapper for the Sockjs client.

Usage no npm install needed!

<script type="module">
  import sockjsClientNode from 'https://cdn.skypack.dev/sockjs-client-node';
</script>

README

Deprecated

This project has been deprecated in favor of the official SockJS-client which now works seamlessly across Node.js and browser environments.

sockjs-client-node

Version npmBuild StatusDependenciesCoverage StatusIRC channel

This is a small wrapper around the sockjs-client framework that was designed for browsers. It wraps it in a jsdom environment and adds some WebSocket magic to make it go fast.

Installation

npm install sockjs-client-node

API

var SockJS = require('sockjs-client-node');

//
// The API is exactly the same as the regular sockjs client.
//

License

MIT