awesome_slack

0.0.3 • Public • Published

Awesome Slack

Minimalist wrapper for the Slack RTM API.

Work in progress.

To give it a try:

var slackClient = new AwesomeSlack('your api token');

slackClient.on('connectionOpen', function(){
  console.log('connection with Slack ready');
});
slackClient.on('messageReceived', function(messageData){
  console.log("Received: " + messageData);
});

slackClient.sendMessage('hello world', 'channel or group id')

Readme

Keywords

Package Sidebar

Install

npm i awesome_slack

Weekly Downloads

1

Version

0.0.3

License

ISC

Last publish

Collaborators

  • cicloon