1.0.0 • Published 10 years ago

relayable v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
10 years ago

relayable.js

The easy way to send notifications to your device using relayable.

relayable.js makes use of bluebird promises.

Install using NPM

npm install relayable

Usage

var relayable = require('relayable');

var client = new relayable({
  linkId: 'YOUR-LINK-ID-GOES-HERE'
});

client.dispatch('your fancy message', 'channel')
.then(function (response) {
  console.log('Dispatch Result', response);
});