npm install dpd-apn --save
- Read for example this post http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
- Create an APN resource in Dashboard
- Place your Key file and Certificate file on the server
- Enter file-locations and passphrase in Settings
dpd.resourcename.post(
{
message: "Your message here",
device: "deviceID"
},
function(result, err){
}
)