Usage

npm i pushbots
var pushbots = require('pushbots');
var Pushbots = new pushbots.api({
    id:'548ef5901d0ab1f3228b456a',
    secret:'646f1ac2fd86ea14ae5a95db7fef724c'
});
Pushbots.setMessage("Hi from new nodeJS API!" ,1);
Pushbots.customFields({"article_id":"1234"});
Pushbots.customNotificationTitle("CUSTOM TITLE");
Pushbots.push(function(response){
    console.log(response);
});
Did this answer your question?