0.1.0 • Published 9 years ago

sane-web-socket v0.1.0

Weekly downloads
4
License
AGPL
Repository
github
Last release
9 years ago

NPM version Build Status Dependency Status

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