siygle / slack-easy-webhook

A simple wrapper which let you use Slack incoming webhook easier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A simple wrapper which let you use Slack incoming webhook easier


Languages

Language:JavaScript 100.0%