<commit_before><span style="color:#721c24;">
  Package is deprecated, work can be done without him thanks to [@symfony/webpack-encore](https://github.com/symfony/webpack-encore) 0.21+.
</span>

# encore-require-assets-helper

Creates .js file, which you can require in your js entry which you use in your [@symfony/webpack-encore](https://github.com/symfony/webpack-encore) config.

## Usage
Create file `assets.config.js`
```
var requireAssetsHelper = require("encore-require-assets-helper");
requireAssetsHelper(from,to,strip,add);
```

And in your javascript file, which you are using as Entry in webpack-encore:

```
//requires generated file
const assets = require("./assets.js");
```

Then run:

```
node assets.config.js
```
<commit_msg>readme fix 4<commit_after>```diff
- Package is deprecated, work can be done without him thanks to [@symfony/webpack-encore](https://github.com/symfony/webpack-encore) 0.21+.
```

# encore-require-assets-helper

Creates .js file, which you can require in your js entry which you use in your [@symfony/webpack-encore](https://github.com/symfony/webpack-encore) config.

## Usage
Create file `assets.config.js`
```
var requireAssetsHelper = require("encore-require-assets-helper");
requireAssetsHelper(from,to,strip,add);
```

And in your javascript file, which you are using as Entry in webpack-encore:

```
//requires generated file
const assets = require("./assets.js");
```

Then run:

```
node assets.config.js
```

{'fraction_non_alphanumeric': 0.1464750171115674, 'fraction_numerical': 0.008213552361396304, 'mean_word_length': 4.96734693877551, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6377488', 'n_tokens_mistral': 491, 'n_tokens_neox': 451, 'n_words': 132}