statocysts
v0.9.1
Published
Notification library for JavaScript
Maintainers
Readme
Statocysts
A modern notification library for JavaScript. As the sensory organ for your infrastructure.
Highly inspired by shoutrrr and apprise.
Installation
using npm
npm install statocystsussing CLI
npm install -g @statocysts/cliQuick Start
As a package
import { send } from 'statocysts'
await send('slack://webhook/xxx/yyy/zzz', 'Hello World')import { createSender } from 'statocysts'
const sender = createSender([
'slack://webhook/xxx/yyy/zzz',
'json://example.com/api/endpoint',
])
sender.send('Hello World')Using CLI
stato -u "slack://webhook/xxx/yyy/zzz" -m "Hello World"