theahindle-node-slack
v1.0.2
Published
Use Slacks Incoming Webhooks to send messages into slack
Downloads
6
Readme
node-slack
Use Slacks Incoming Webhooks to send messages into slack
npm install theahindle-node-slack
var slack = require('theahindle-node-slack')
.setHookUrl('https://hooks.slack.com/services/TAAAAAA/BAAAAAA/siyefyiUH7DUU2bud7')
.setUsername('MyAppIsAwesome!')
.setChannel('#awesome-notifications');
slack.send('Well howdy partner!');
slack.send('Come on Mario, we have a plane to catch');
slack.setChannel('#secret').send('Mario is on his way!');