Skip to content

primus/sockjs-client-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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