0.1.1 • Published 8 years ago
knock-client v0.1.1
Knock
Knock javascript client for browser.
Getting started
Usage
$ npm install --save knock
import Knock from 'knock';
const knock = new Knock('ws://io.example.com:3000/');
const channel = knock.subscribe('events');
channel.on('notification', (data) => {
console.log(data);
});
License
MIT © Scalex Systems