sane-web-socket
v0.1.0
Published
Provides sane defaults and API around socket.io core
Downloads
4
Maintainers
Readme
Provides sane defaults and API around socket.io core.
Install
$ npm install --save sane-web-socket
Usage
Server
var SaneWebSocketServer = require('sane-web-socket/server');
Client
Require and pass through any commonjs-browser bridge, such as browserify:
var SaneWebSocketClient = require('sane-web-socket/client');
Or, create standalone browser bundle:
# creates sane-web-socket-client.js
$ npm run browser
License
AGPL © Amit Portnoy