<commit_before>grunt-espower
================================

[![Build Status](https://travis-ci.org/twada/grunt-espower.png?branch=master)](https://travis-ci.org/twada/grunt-espower)
[![NPM version](https://badge.fury.io/js/grunt-espower.png)](http://badge.fury.io/js/grunt-espower)
[![Dependency Status](https://gemnasium.com/twada/grunt-espower.png)](https://gemnasium.com/twada/grunt-espower)

A grunt task to apply espower to target files.


DESCRIPTION
---------------------------------------
`grunt-espower` is a grunt task to instrument "Power Assert" feature into your code.


Internally, `grunt-espower` task uses `espower` module that manipulates assertion expression (JavaScript Code) represented as [Mozilla JavaScript AST](https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API), to instrument power-assert feature into the code. The magic is done by using [Esprima](http://esprima.org/) and [Escodegen](https://github.com/Constellation/escodegen).


Please note that `grunt-espower` is an alpha version product. Pull-requests, issue reports and patches are always welcomed. See [power-assert](http://github.com/twada/power-assert) project for more documentation.


## Getting Started
This plugin requires Grunt `~0.4.1`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-espower --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
<commit_msg>alpha -> beta<commit_after>grunt-espower
================================

[![Build Status](https://travis-ci.org/twada/grunt-espower.png?branch=master)](https://travis-ci.org/twada/grunt-espower)
[![NPM version](https://badge.fury.io/js/grunt-espower.png)](http://badge.fury.io/js/grunt-espower)
[![Dependency Status](https://gemnasium.com/twada/grunt-espower.png)](https://gemnasium.com/twada/grunt-espower)

A grunt task to apply espower to target files.


DESCRIPTION
---------------------------------------
`grunt-espower` is a grunt task to instrument "Power Assert" feature into your code.


Internally, `grunt-espower` task uses `espower` module that manipulates assertion expression (JavaScript Code) represented as [Mozilla JavaScript AST](https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API), to instrument power-assert feature into the code. The magic is done by using [Esprima](http://esprima.org/) and [Escodegen](https://github.com/Constellation/escodegen).


Please note that `grunt-espower` is a beta version product. Pull-requests, issue reports and patches are always welcomed. See [power-assert](http://github.com/twada/power-assert) project for more documentation.


## Getting Started
This plugin requires Grunt `~0.4.1`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-espower --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

{'fraction_non_alphanumeric': 0.1589366515837104, 'fraction_numerical': 0.0016968325791855204, 'mean_word_length': 4.509345794392523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 14, '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': '3415825', 'n_tokens_mistral': 1085, 'n_tokens_neox': 1050, 'n_words': 323}