Send messages to slack with incoming webhooks.
$ npm install slack-incoming-webhook
var slack = require('slack-incoming-webhook');
var send = slack(opts);
// send = send(otherOpts)
send(message);
send(message, cb);
send(message, opts, cb);
If invoked with a single opts
object, it configures and returns a slack client.
Sends a message to the configured Webhook URL. You can override options with opts
,
the optional callback is called when the request is completed.
MIT