@cityssm/ntfy-publish
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

node-ntfy-publish

npm (scoped) Code Climate maintainability codecov GitHub Workflow Status DeepSource

A Node package to publish push notifications to a phone or desktop through an ntfy server.

Getting Started

npm install @cityssm/ntfy-publish
import ntfyPublish from '@cityssm/ntfy-publish'

await ntfyPublish({
  topic: 'cityssm-test',
  priority: 'high',
  title: 'Test High Priority Message',
  message: '1, 2, 3',
  tags: ['warning', 'computer'],
  iconURL: 'https://avatars.githubusercontent.com/cityssm',
  clickURL: 'https://github.com/cityssm/node-ntfy-publish'
})

For information on how to subscribe to notifications on your phone or desktop, visit the ntfy website.

Related Projects on NPM

  • ntfy - Send notifications over ntfy.sh

Package Sidebar

Install

npm i @cityssm/ntfy-publish

Weekly Downloads

7

Version

1.0.1

License

MIT

Unpacked Size

16.8 kB

Total Files

12

Last publish

Collaborators

  • dgowans