node package manager

node-pushover-client

Send push notifications to iOS and Android using Pushover.

node-pushover-client

Send push notifications to iOS and Android using Pushover.

Register an application with Pushover.net to get your application and user tokens. You can set PUSHOVER_TOKEN and PUSHOVER_USER environment variables to use as defaults.

var Pushover = require('node-pushover-client');
 
var client = new Pushover({
  token: 'KzGDORePK8gMaC0QOYAMyEEuzJnyUi',
  user: 'uQiRzpo4DXghDmr9QzzfQu27cmVRsG'
})
.send({message: 'Hello World'})
.then(res => console.log(res));
$ npm -g install node-pushover-client
$ pushover --help

The options object uses the same parameters outlined in Pushover's API.