pushy-notify

1.0.2 • Public • Published

pushy-notify v1.0.2

A small node.js library for push notifications using pushy. for more info visit pushy

How to use

 
var pushy=require('pushy-notify');
 
//device registrationIds
var registrationIds= [];
registrationIds.push('');
 
//data in push notification
var data={"message":{"from":"sai", "msg":"hi"}};
 
//api key from pushy
var apikey='';
 
//pass values to pushy
pushy(apikey,registrationIds,data,function(response){
 
console.log(response);
 
 
});
 

Installation

npm install pushy-notify

license

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i pushy-notify

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • scionoftech