JSPM

@cityssm/ntfy-publish

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q64707F
  • License MIT

A Node package to publish notifications to an ntfy server.

Package Exports

  • @cityssm/ntfy-publish

Readme

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.

  • ntfy - Send notifications over ntfy.sh