@malinowskip/push@0.1.3Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
malinowskip/pushA small Deno utility for interacting with the Pushover Message API.
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers




JSR Score
100%
Published
2 years ago (0.1.3)
@malinowskip/push
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
pushfunction, 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.
Usage examples
Deno
import { push } from "jsr:@malinowskip/push"; await push({ user: "YOUR_USERNAME", token: "YOUR_TOKEN", message: "Hello, world!", });
CLI
Install
deno install --allow-net -n push jsr:@malinowskip/push/cli
Send a message
push --user <YOUR_USERNAME> --token <YOUR_TOKEN> --message "Hello, world!"
Built and signed on
GitHub Actions
Add Package
deno add jsr:@malinowskip/push
Import symbol
import * as push from "@malinowskip/push";
Import directly with a jsr specifier
import * as push from "jsr:@malinowskip/push";
Add Package
pnpm i jsr:@malinowskip/push
pnpm dlx jsr add @malinowskip/push
Import symbol
import * as push from "@malinowskip/push";
Add Package
yarn add jsr:@malinowskip/push
yarn dlx jsr add @malinowskip/push
Import symbol
import * as push from "@malinowskip/push";
Add Package
vlt install jsr:@malinowskip/push
Import symbol
import * as push from "@malinowskip/push";
Add Package
npx jsr add @malinowskip/push
Import symbol
import * as push from "@malinowskip/push";
Add Package
bunx jsr add @malinowskip/push
Import symbol
import * as push from "@malinowskip/push";