Library to support sending push notifications using Parse

npm install parse-push
3 downloads in the last week
13 downloads in the last month


Library for using ParsePush -


npm install parse-push

Or check out from source

git clone
cd node-parse-push
npm link


Send data to a number of channels

var Push = require("parse-push");

//Create new push instance
var push = new Push({
  applicationId: "MyApplicationId",
  restApiKey:    "MyRestApiKey"

//Now send to some channels
push.sendToChannels(["channel1","channel2","channel3"], {"foo":"bar"}, function(error, data){
  if (error) {
    console.error("Oh no it went wrong!: " + error.message);
  } else {
    console.log("It went well! ", data);
npm loves you