# @stingalleman/pushover.js

> Modern node.js library for Pushover with Typescript support

Latest version **1.1.2** (published 2020-08-19) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @stingalleman/pushover.js
pnpm add @stingalleman/pushover.js
yarn add @stingalleman/pushover.js
bun add @stingalleman/pushover.js
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2020-08-19 |
| First published | 2020-08-12 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 44.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Sting Alleman |
| Maintainers | stingalleman |
| Keywords | pushover, push notifications, ios, android, web, api, api wrapper |

## Links

- npm: https://www.npmjs.com/package/@stingalleman/pushover.js
- Repository: https://github.com/stingalleman/pushover.js
- Homepage: https://github.com/stingalleman/pushover.js#readme
- Issues: https://github.com/stingalleman/pushover.js/issues
- npm.io page: https://npm.io/package/@stingalleman/pushover.js

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.1.2 (latest) — 2020-08-19
- 1.1.1 — 2020-08-19
- 1.1.0 — 2020-08-19
- 1.0.0 — 2020-08-12

## README

# pushover.js

[![npm](https://img.shields.io/npm/v/@stingalleman/pushover.js)](https://npmjs.com/package/@stingalleman/pushover.js) [![GitHub](https://img.shields.io/github/license/stingalleman/pushover.js)](LICENSE.md) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9D298ENTTLRBJ&source=url)

> node.js API wrapper for Pushover with Typescript support

## Installation

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

## Example

```js
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:

```js
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](https://stingalleman.github.io/pushover.js/)

## Why that stupid name?

Because NPM threw this error at me:

```bash
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
```

---
_Source: https://npm.io/package/@stingalleman/pushover.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
