Skip to main content
Home

Built and signed on GitHub Actions

A 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
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with 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 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.

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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@malinowskip/push

Import symbol

import * as push from "@malinowskip/push";
or

Import directly with a jsr specifier

import * as push from "jsr:@malinowskip/push";

Add Package

pnpm i jsr:@malinowskip/push
or (using pnpm 10.8 or older)
pnpm dlx jsr add @malinowskip/push

Import symbol

import * as push from "@malinowskip/push";

Add Package

yarn add jsr:@malinowskip/push
or (using Yarn 4.8 or older)
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";