@dlghq/dialog-webhook

Easy to use CLI tool for dialog webhooks

Usage no npm install needed!

<script type="module">
  import dlghqDialogWebhook from 'https://cdn.skypack.dev/@dlghq/dialog-webhook';
</script>

README

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