0.1.2 • Published 10 years ago
elastique v0.1.2
Elastique
Installation
$ npm install elastique --save
Quick Start
var Elastique = require('elastique');
var elastique = new Elastique([yourApiKey], [yourApiSecret]);
elastique.on('success', function(){
console.log('Push notificiation successfully sent');
});
elastique.on('error', function(err){
console.error('Error sending push notificiation', err);
});
elastique.push('your awesome push notificiation');
Example
$ npm run-script example