<commit_before># Koa-minify

[Minify](http://coderaiser.github.io/minify "Minify") middleware for [koa](http://koajs.com/ "Koa").

## Install

`npm i koa-minify --save`

## Use

```js
app.use(koaMinify({
    dir: __dirname
}));
```

## License

MIT<commit_msg>docs(readme) example<commit_after># Koa-minify

[Minify](http://coderaiser.github.io/minify "Minify") middleware for [koa](http://koajs.com/ "Koa").

## Install

`npm i koa-minify --save`

## Use

```js
var koa         = require('koa'),
    koaMinify   = require('koa-minify'),
    app         = koa();

app.use(koaMinify({
    dir: __dirname
}));

app.listen(3000);
```

## License

MIT
{'fraction_non_alphanumeric': 0.20556414219474498, 'fraction_numerical': 0.0061823802163833074, 'mean_word_length': 3.5314685314685317, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3035811', 'n_tokens_mistral': 275, 'n_tokens_neox': 265, 'n_words': 48}