Socket
Book a DemoInstallSign in
Socket

@stingalleman/pushover.js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stingalleman/pushover.js

Modern node.js library for Pushover with Typescript support

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

pushover.js

npm GitHub Donate

node.js API wrapper for Pushover with Typescript support

Installation

yarn add @stingalleman/pushover.js # or npm install @stingalleman/pushover.js

Example

const { Pushover } = require("../dist/index");

const pushover = new Pushover("APPLICATION-TOKEN");

async function init() {
  await pushover.message.send("This is a notification title!", {
    message: "Sick notification",
    user: "USER-TOKEN"
  });
}

init();

You're also able to set a default user token:

const { Pushover } = require("../dist/index");

const pushover = new Pushover("APPLICATION-TOKEN", "USER-TOKEN");

async function init() {
  await pushover.message.send("This is a notification title!");
}

init();

Documentation is located here

Why that stupid name?

Because NPM threw this error at me:

npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/pushover.js - Package name too similar to existing packages; try renaming your package to '@stingalleman/pushover.js' and publishing with 'npm publish --access=public' instead

Keywords

pushover

FAQs

Package last updated on 19 Aug 2020

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