<commit_before># karma-ng-json2js-preprocessor [![Build Status](https://travis-ci.org/EE/karma-ng-json2js-preprocessor.svg?branch=master)](https://travis-ci.org/EE/karma-ng-json2js-preprocessor)

> Preprocessor for converting JSON files to [AngularJS](http://angularjs.org/) constants.

## Installation

The easiest way is to keep `karma-ng-json2js-preprocessor` as a devDependency in your `package.json`. You can simple do it by:

```bash
npm install karma-ng-json2js-preprocessor --save-dev
```

## Configuration

```js
// karma.conf.js
module.exports = function (config) {
    config.set({<commit_msg>Add a deprecation notice<commit_after># karma-ng-json2js-preprocessor [![Build Status](https://travis-ci.org/EE/karma-ng-json2js-preprocessor.svg?branch=master)](https://travis-ci.org/EE/karma-ng-json2js-preprocessor)

> Preprocessor for converting JSON files to [AngularJS](http://angularjs.org/) constants.

**NOTE: `karma-ng-json2js-preprocessor` is no longer maintained because AngularJS reached its End-of-Life.**

## Installation

The easiest way is to keep `karma-ng-json2js-preprocessor` as a devDependency in your `package.json`. You can simple do it by:

```bash
npm install karma-ng-json2js-preprocessor --save-dev
```

## Configuration

```js
// karma.conf.js
module.exports = function (config) {
    config.set({
{'fraction_non_alphanumeric': 0.14672686230248308, 'fraction_numerical': 0.008276899924755455, 'mean_word_length': 4.782608695652174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '3328555', 'n_tokens_mistral': 457, 'n_tokens_neox': 443, 'n_words': 101}