Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

zettajs/zrx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zrx

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