notifier-client
Simple client for https://github.com/DemocracyOS/notifier, forked from likeastore
Usage
Install from npm,
$ npm install notifier-client
Initialize the client,
var notifier = host: 'http://notifier.example.com/api/events' token: 'your-custom-token';
Use the notify
method,
notifier;
Or use to
and withData
methods,
notifier ;
In both cases callback
parameter is optional,
notifier
TODOS
- Tests
License
MIT