A small Deno utility for sending Pushover notifications. In order to use the API, it’s necessary to register a user and and application according to the Pushover documentation. A user key and an application token is required to use the API.
This package provides:
- a TypeScript module exposing a
push
function, which can be used to send notifications to the Pushover Message API endpoint; - a Deno command-line utility which may serve as an alternative to calling the Pushover Message API using curl.
import { push } from "jsr:@malinowskip/push";
await push({
user: "YOUR_USERNAME",
token: "YOUR_TOKEN",
message: "Hello, world!",
});
deno install --allow-net -n push jsr:@malinowskip/push/cli
push --user <YOUR_USERNAME> --token <YOUR_TOKEN> --message "Hello, world!"