https://github.com/dallashoff/pushover-sdk
Call Pushover's APIs from any JavaScript runtime with fully typed inputs and responses.
https://github.com/dallashoff/pushover-sdk
iot notifications pushover typescript-library
Last synced: 5 months ago
JSON representation
Call Pushover's APIs from any JavaScript runtime with fully typed inputs and responses.
- Host: GitHub
- URL: https://github.com/dallashoff/pushover-sdk
- Owner: DallasHoff
- License: mit
- Created: 2025-08-28T05:12:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-28T05:32:48.000Z (10 months ago)
- Last Synced: 2025-08-28T10:42:37.626Z (10 months ago)
- Topics: iot, notifications, pushover, typescript-library
- Language: TypeScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pushover SDK
A TypeScript SDK for calling [Pushover APIs](https://pushover.net/api) from any JavaScript runtime with fully typed inputs and responses.
[Documentation](https://pushover-sdk.pages.dev) - [GitHub](https://github.com/DallasHoff/pushover-sdk) - [NPM](https://www.npmjs.com/package/pushover-sdk)
## Features
- 📲 Get push notifications from your JavaScript or TypeScript app
- ⚙️ Supports Node.js, Deno, Bun, Cloudflare Workers... anything with the standard Fetch API
- 🔋 Fully supports the entire Pushover API, including Receipts, Glances, Groups, and Teams
- 🛠️ Every method has TypeScript types for the arguments each endpoint takes and what it returns
- 🤝 Works with ESM and CommonJS codebases
- ⚡️ Tiny: no dependencies
## Examples
```typescript
import { Pushover } from 'pushover-sdk';
const pushover = new Pushover({
token: 'egn0tactva1lyarea1t0k3n',
user: 's0mepush0v3rus3rid',
});
await pushover.sendMessage('This is a push notification!');
await pushover.sendMessage({
title: 'Hello World',
message: 'This notification has a title and link.',
url: 'https://example.com/',
});
await pushover.updateGlances({
text: 'Update a Glance',
percent: 75,
});
```
## Install
```sh
npm install pushover-sdk
# or...
yarn add pushover-sdk
# or...
pnpm install pushover-sdk
# or...
bun add pushover-sdk
```