zrx
v0.7.0
Published
A reactive client for Zetta.
Downloads
13
Readme
zrx
- A reactive client for Zetta (https://github.com/zettajs/zetta).
Install
npm install zrx
Example
var zrx = require('./zrx');
zrx()
.load('http://zetta-cloud-2.herokuapp.com')
.server('Detroit')
.device(function(d) {
return d.type === 'display';
})
.toDevice()
.subscribe(function(device) {
console.log(device.message);
});
License
MIT