vigour-hub

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

Usage no npm install needed!

<script type="module">
  import vigourHub from 'https://cdn.skypack.dev/vigour-hub';
</script>

README

vigour-hub

Build Status js-standard-style npm version Coverage Status

Adds connectivity to vigour-state

var Hub = require('vigour-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
})