<commit_before>[![Build Status](https://travis-ci.org/lasso-js/karma-lasso.svg)](https://travis-ci.org/lasso-js/karma-lasso)
[![Code Climate](https://codeclimate.com/github/lasso-js/karma-lasso/badges/gpa.svg)](https://codeclimate.com/github/lasso-js/karma-lasso)

[![Dependency Status](https://david-dm.org/lasso-js/karma-lasso.svg)](https://david-dm.org/lasso-js/karma-lasso)
[![devDependency Status](https://david-dm.org/lasso-js/karma-lasso/dev-status.svg)](https://david-dm.org/lasso-js/karma-lasso#info=devDependencies)
[![peerDependency Status](https://david-dm.org/lasso-js/karma-lasso/peer-status.svg)](https://david-dm.org/lasso-js/karma-lasso#info=peerDependencies)

# karma-lasso

> Karma Plugin for [Lasso.js](https://github.com/lasso-js/lasso).


## Installation

The easiest way is to keep `karma-lasso` as a devDependency in your `package.json`.

```json

{
    "devDependencies": {
        "karma": "~0.10",
        "karma-lasso": "^0.0"
    }
}

```

or you can simply do it by:

```bash

npm install karma-lasso --save-dev

```


## Configuration

**Make sure you include `lasso` is the first element in the frameworks array so that optimization happens before other
frameworks add their sources in the source list.**

The basic configuration for karma-lasso is detailed below:

### For Simple karma testing

``` javascript
<commit_msg>testing travis integration<commit_after>[![Build Status](https://travis-ci.org/lasso-js/karma-lasso.svg)](https://travis-ci.org/lasso-js/karma-lasso)
[![Code Climate](https://codeclimate.com/github/lasso-js/karma-lasso/badges/gpa.svg)](https://codeclimate.com/github/lasso-js/karma-lasso)

[![Dependency Status](https://david-dm.org/lasso-js/karma-lasso.svg)](https://david-dm.org/lasso-js/karma-lasso)
[![devDependency Status](https://david-dm.org/lasso-js/karma-lasso/dev-status.svg)](https://david-dm.org/lasso-js/karma-lasso#info=devDependencies)
[![peerDependency Status](https://david-dm.org/lasso-js/karma-lasso/peer-status.svg)](https://david-dm.org/lasso-js/karma-lasso#info=peerDependencies)

# karma-lasso

> Karma Plugin for [Lasso.js](https://github.com/lasso-js/lasso).


## Installation

The easiest way is to keep `karma-lasso` as a devDependency in your `package.json`.

```json

{
    "devDependencies": {
        "karma": "~0.10",
        "karma-lasso": "^0.0"
    }
}

```

or you can simply do it by:

```bash

npm install karma-lasso --save-dev

```


## Configuration

**Make sure you include `lasso` is the first element in the frameworks array so that optimization happens before other
frameworks add their sources in the source list.**

The basic configuration for karma-lasso is detailed below:


### For Simple karma testing

``` javascript

{'fraction_non_alphanumeric': 0.17254038179148312, 'fraction_numerical': 0.003671071953010279, 'mean_word_length': 4.301556420233463, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 22, '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': '4343552', 'n_tokens_mistral': 1029, 'n_tokens_neox': 979, 'n_words': 178}