<commit_before># Node.js Slack Client Library

## node-slack v2.0.0 please read!

Hi all,

First of all, thanks for using this library :) We really appreciate all the developers out there who want to integrate with Slack and build cool bots and tools.

I've been working on a substantial refactor of the existing node-client library for the past little while and it's now at the point where getting your feedback would be fantastic.

That refactor is located on [my personal github](https://github.com/l12s/node-slack-client).

The refactor has 3 main goals:
- get node-slack to a point where it can be easily maintained and extended, both by Slack and our delightful external contributors:
  - improve test coverage
  - standardize code; e.g. move off coffee script, make heavier use of npm modules etc.
  - update JSDoc, code comments and inline documentation
- address flaws in the existing client, e.g.
  - improve reconnection logic
  - respect 429 headers
  - improve the client so that it can be used as the foundation for more complex apps and use cases, e.g. design to support different types of datastores
- add documentation, examples and test apps

There are still some issues outstanding on the refactor, which can be seen [here](https://github.com/l12s/node-slack-client/issues)

What would be great to get some help on is:
- code review; please check out the code and raise any issues you run into
- test it out; it would be great to get a few test applications written to shake out any bugs, or if you have an app already to see

## Travis-CI Build Status

[![Build Status](https://travis-ci.org/slackhq/node-slack-client.png?branch=master)](https://travis-ci.org/slackhq/node-slack-client)

## Description

This is a Slack client library for Node.js. It's intended to expose all of the functionality of [Slack's Real Time Messaging API](https://api.slack.com/rtm) while providing some common abstractions and generally making your life easier, if you want it to.

This code has been built to support our [hubot-slack](https://github.com/slackhq/hubot-slack) adapter. Most other functionality isn't yet supported, and documentation is minimal, at best.

## Installation
```bash
npm install slack-client --save
```

## Usage
```coffeescript<commit_msg>Updates the README to link to the beta version of the 2.0.0 client<commit_after># Node.js Slack Client Library

## node-slack v2.0.0

The beta release for the 2.0.0 version of this library is now available.

To use it you can `npm install slack-client@2.0.0-beta.2` or check out the [2.0.0-beta branch](https://github.com/slackhq/node-slack-client/tree/2.0.0-beta)

## Travis-CI Build Status

[![Build Status](https://travis-ci.org/slackhq/node-slack-client.png?branch=master)](https://travis-ci.org/slackhq/node-slack-client)

## Description

This is a Slack client library for Node.js. It's intended to expose all of the functionality of [Slack's Real Time Messaging API](https://api.slack.com/rtm) while providing some common abstractions and generally making your life easier, if you want it to.

This code has been built to support our [hubot-slack](https://github.com/slackhq/hubot-slack) adapter. Most other functionality isn't yet supported, and documentation is minimal, at best.

## Installation
```bash
npm install slack-client --save
```

## Usage
```coffeescript
{'fraction_non_alphanumeric': 0.08677438659485338, 'fraction_numerical': 0.008976660682226212, 'mean_word_length': 4.215288611544461, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2380634', 'n_tokens_mistral': 995, 'n_tokens_neox': 957, 'n_words': 433}