1.0.2 • Published 9 years ago

theahindle-node-slack v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

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!');