zrx

0.7.0 • Public • Published

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

Package Sidebar

Install

npm i zrx

Weekly Downloads

2

Version

0.7.0

License

MIT

Unpacked Size

8.82 kB

Total Files

9

Last publish

Collaborators

  • adammagaluk
  • kevinswiber
  • mdobs