Skip to content
This repository was 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

About

A reactive API client for Zetta (https://github.com/zettajs/zetta).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •