slack-easy-webhook
v1.0.0
Published
An simple wrapper which help integrate with Slack incoming webhook easier
Downloads
23
Readme
slack-easy-webhook
Just a simple wrapper which make slack incoming webhook more easy to use (and don't need to install any dependency) with Promise.
Install
npm install slack-easy-webhook
Usage
const slack = require('slack-easy-webhook')
slack(WEBHOOK_URL, OPTS)
Options
All Slack accepts options (slack incoming webhook, like username
, channel
, icon_url
, icon_emoji
, attachments
) and its message formatting or message attachments.