<commit_before>[![Build Status](http://img.shields.io/travis/stefanjudis/grunt-jsinspect.svg)](https://travis-ci.org/stefanjudis/grunt-jsinspect)
[![NPM version](http://img.shields.io/npm/v/grunt-jsinspect.svg)](http://badge.fury.io/js/grunt-jsinspect)
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)
[![Dependency Status](https://david-dm.org/stefanjudis/grunt-jsinspect.svg)](https://david-dm.org/stefanjudis/grunt-jsinspect)

![image](./logo.jpg)
# grunt-jsinspect

[Grunt](http://gruntjs.com/) task for running [jsinspect](https://github.com/danielstjules/jsinspect) in order to detect copy-pasted and structurally similar JavaScript code.


## Getting Started

This plugin requires Grunt version `>=0.4.0`, verbally the minimum of `0.4.0`.
The minimum Node.js version supported is [`6.9.0` (the second LTS version)](https://nodejs.org/en/blog/release/v6.9.0/).

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-jsinspect --save-dev
```

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

```js
grunt.loadNpmTasks('grunt-jsinspect');
```

## Configuration and available options
<commit_msg>Package has been deprecated and this repo will be archived. Thank you for all the efforts :elf:<commit_after>**Please note: No efforts are placed on updating grunt-jsinspect any longer. Please use [jsinspect](https://github.com/danielstjules/jsinspect) directly**

[![Build Status](http://img.shields.io/travis/stefanjudis/grunt-jsinspect.svg)](https://travis-ci.org/stefanjudis/grunt-jsinspect)
[![NPM version](http://img.shields.io/npm/v/grunt-jsinspect.svg)](http://badge.fury.io/js/grunt-jsinspect)
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)
[![Dependency Status](https://david-dm.org/stefanjudis/grunt-jsinspect.svg)](https://david-dm.org/stefanjudis/grunt-jsinspect)

![image](./logo.jpg)
# grunt-jsinspect

[Grunt](http://gruntjs.com/) task for running [jsinspect](https://github.com/danielstjules/jsinspect) in order to detect copy-pasted and structurally similar JavaScript code.

## Getting Started

This plugin requires Grunt version `>=0.4.0`, verbally the minimum of `0.4.0`.
The minimum Node.js version supported is [`6.9.0` (the second LTS version)](https://nodejs.org/en/blog/release/v6.9.0/).

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-jsinspect --save-dev
```

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

```js
grunt.loadNpmTasks('grunt-jsinspect');
```

## Configuration and available options

{'fraction_non_alphanumeric': 0.15089747490112565, 'fraction_numerical': 0.007301490721022209, 'mean_word_length': 5.021978021978022, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 13, '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': '2572452', 'n_tokens_mistral': 1157, 'n_tokens_neox': 1119, 'n_words': 281}