@dlghq/dialog-webhook
v1.0.0
Published
Easy to use CLI tool for dialog webhooks
Downloads
3
Maintainers
Readme
dialog webhook
Easy to use CLI tool for dialog webhooks.
Installation
npm install -D @dlghq/dialog-webhook
CLI
dialog-webhook --url $HOOK_URL --text 'Hello, world!'
Node API
const webhook = require('@dlghq/dialog-webhook');
webhook({ url: webHookUrl, text: 'Hello, world!' })
.then(() => console.log('done'))
.catch((e) => console.error(e));