Connected vigour-state, works as a server and a client


Keywords
javascript, hub, communication, state, reactive, webrtc, websocket, xhr
License
MIT
Install
npm install brisky-hub@1.1.12

Documentation

brisky-hub

Build Status js-standard-style npm version Coverage Status

Adds connectivity to vigour-state

var Hub = require('brisky-hub')
// creates a hub as a server and as a client (url and port)
var hub = new Hub({
  url: 'ws://someurl.com',
  port: 80 // some port
})