1.0.0 • Published 6 years ago

slack-easy-webhook v1.0.0

Weekly downloads
12
License
-
Repository
-
Last release
6 years ago

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.