<commit_before># Usage
The code needs a ES2015+ polyfill to work, for example
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
```js
require( 'regenerator-runtime/runtime' ) ;
// or
import 'regenerator-runtime/runtime' ;
```

Then
```js
const cardinality = require( '@aureooms/js-cardinality' ) ;
// or
import cardinality from '@aureooms/js-cardinality' ;
```<commit_msg>:robot: docs: Correctly import regenerator/runtime.<commit_after># Usage
The code needs a ES2015+ polyfill to work, for example
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
```js
require( 'regenerator-runtime/runtime' ) ;
// or
import 'regenerator-runtime/runtime.js' ;
```

Then
```js
const cardinality = require( '@aureooms/js-cardinality' ) ;
// or
import cardinality from '@aureooms/js-cardinality' ;
```
{'fraction_non_alphanumeric': 0.1596130592503023, 'fraction_numerical': 0.009673518742442563, 'mean_word_length': 5.2727272727272725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4183660', 'n_tokens_mistral': 304, 'n_tokens_neox': 269, 'n_words': 64}