1.0.0 • Published 5 years ago

@dlghq/dialog-webhook v1.0.0

Weekly downloads
75
License
Apache-2.0
Repository
github
Last release
5 years ago

dialog webhook

Easy to use CLI tool for dialog webhooks.

How to get integration link.

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

Apache-2.0