New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-pushover-client

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pushover-client

Send push notifications to iOS and Android using Pushover.

latest
Source
npmnpm
Version
2.1.0
Version published
Weekly downloads
3
-88%
Maintainers
1
Weekly downloads
 
Created
Source

node-pushover-client

Send push notifications to iOS and Android using Pushover.

Usage

Register an application with Pushover.net to get your application and user tokens.

const Pushover = require('node-pushover-client');

const client = new Pushover({
  token: 'KzGDORePK8gMaC0QOYAMyEEuzJnyUi',
  user: 'uQiRzpo4DXghDmr9QzzfQu27cmVRsG'
});

client
  .send({message: 'Hello World'})
  .then(res => console.log(res));

You can set PUSHOVER_TOKEN and PUSHOVER_USER environment variables to use as defaults.

new Pushover().send({message: 'Hello World'});

There's also a static send method.

Pushover.send({
  token: 'KzGDORePK8gMaC0QOYAMyEEuzJnyUi',
  user: 'uQiRzpo4DXghDmr9QzzfQu27cmVRsG',
  message: 'Hello World'
});

Command Line Usage

$ npm -g install node-pushover-client
$ pushover --help

Options

The options object uses the same parameters outlined in Pushover's API. Any snake_case option can also be written in camelCase.

FAQs

Package last updated on 06 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts