1.0.0 • Published 5 years ago
@dlghq/dialog-webhook v1.0.0
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));
License
1.0.0
5 years ago