New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

slack-api-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-api-client

A Slack API Client

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
254
-8.96%
Maintainers
1
Weekly downloads
 
Created
Source

slack-api-client

NPM Version Build Status Package downloads

var SlackClient = require('slack-api-client');

var slack = new SlackClient('token');

slack.api.chat.postMessage({
  channel: '#notifications',
  username: 'Slack Client',
  text: 'Hello world!'
}, function (err, res) {
  if (err) { throw err; }
  console.log(res);
});

Installation

$ npm install slack-api-client

API and documentation

More information at Slack API Documentation

Running Tests

To run the test suite, first invoke the following command within the repo, installing the development dependencies:

$ npm install

Then run the tests:

$ npm test

License

MIT

Keywords

slack

FAQs

Package last updated on 25 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts