<commit_before># Easy Sauce

[![Build Status](https://secure.travis-ci.org/philipwalton/easy-sauce.png)](http://travis-ci.org/philipwalton/easy-sauce)

Easy Sauce is a Node.js library that makes it easy to run JavaScript unit tests on the Sauce Labs cloud.

* [Installation](#installation)
* [Usage](#usage)
  * [Command Line Interface](#command-line-interface)
  * [Node.js API](#nodejs-api)
* [Running the tests](#running-the-tests)


## Installation

Easy Sauce can be installed from npm by running the following command:

```sh
npm install easy-sauce

```

## Usage

Easy Sauce comes with a command line interface (CLI) as well as a programatic API for use within Node.js.

### Command Line Interface

The `easy-sauce` command can be used as follows:

```
Usage: easy-sauce [options]

The easy-sauce command can by run by invoking the easy-sauce binary and passing
it a list of optional configuration options. The configuration options specified<commit_msg>Add the node.js version 6 requirement<commit_after># Easy Sauce

[![Build Status](https://secure.travis-ci.org/philipwalton/easy-sauce.png)](http://travis-ci.org/philipwalton/easy-sauce)

Easy Sauce is a Node.js library that makes it easy to run JavaScript unit tests on the Sauce Labs cloud.

* [Installation](#installation)
* [Usage](#usage)
  * [Command Line Interface](#command-line-interface)
  * [Node.js API](#nodejs-api)
* [Running the tests](#running-the-tests)


## Installation

Easy Sauce can be installed from npm by running the following command:

```sh
npm install easy-sauce
```

**Note:** running `easy-sauce` requires at least Node.js version 6 (due to its use of es2015 code).

## Usage

Easy Sauce comes with a command line interface (CLI) as well as a programatic API for use within Node.js.

### Command Line Interface

The `easy-sauce` command can be used as follows:

```
Usage: easy-sauce [options]

The easy-sauce command can by run by invoking the easy-sauce binary and passing
it a list of optional configuration options. The configuration options specified
{'fraction_non_alphanumeric': 0.10606060606060606, 'fraction_numerical': 0.002932551319648094, 'mean_word_length': 4.623626373626373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1105263', 'n_tokens_mistral': 674, 'n_tokens_neox': 615, 'n_words': 240}