Socket
Socket
Sign inDemoInstall

slack-client

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-client

A library for creating a full Slack client


Version published
Weekly downloads
59
decreased by-25.32%
Maintainers
3
Weekly downloads
 
Created
Source

Node.js Slack Client Library

Travis-CI Build Status

Build Status

Description

This is the beta Slack client 2.0.0 library for node.js, it:

Beta Status

Please note that this client is a complete rewrite of the 1.5.1 slack-client library.

It's still under active development, so issues and PRs are very welcome.

There are likely still a number of bugs to address in this release before it's ready for a full 2.0.0, so use with caution!

Installation

npm install slack-client@2.0.0-beta1 --save

Usage


var RtmClient = require('slack-client').RtmClient;

var token = '' || process.env.SLACK_API_TOKEN;

var rtm = new RtmClient(token, {logLevel: 'debug'});
rtm.start();

rtm.on('message', function(message) {
    console.log(message);
});

A full example of how to use this module from Node.js can be found in the /examples directory.

Contribute

Here's the most direct way to get your work merged into the project.

  1. Fork the project
  2. Clone down your fork
  3. Create a feature branch
  4. Hack away and add tests, not necessarily in that order
  5. Make sure everything still passes by running tests
  6. If necessary, rebase your commits into logical chunks without errors
  7. Add yourself to package.json as a contributor
  8. Push the branch up to your fork
  9. Send a pull request for your branch

Copyright © Slack Technologies, Inc. MIT License; see LICENSE for further details.

Keywords

FAQs

Package last updated on 12 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc