Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 758 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 758 Bytes

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.