A TypeScript SDK for calling Pushover APIs from any JavaScript runtime with fully typed inputs and responses.
Documentation - GitHub - NPM
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,
});
npm install pushover-sdk
# or...
yarn add pushover-sdk
# or...
pnpm install pushover-sdk
# or...
bun add pushover-sdk