0.1.1 • Published 10 years ago

knock-client v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Knock NPM version Build Status Dependency Status Coverage percentage

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