<commit_before>Babel-Preset
============

This is my babel preset that extends `ES2015` preset and adds features like `async`/`await`, `JSX` and `Flow types`.

Please note that this preset requires native generators to be present as it drops `transform-regenerator` from `ES2015` preset.

#### LICENSE
This module is licensed under the terms of MIT License, check the LICENSE file for more info.
<commit_msg>:memo: Add a detailed README<commit_after>Babel-Preset
============

This is my babel preset that aims at the latest ES features (stage-0) while having React and decorator support as well.
By default this preset blacklists only one transpiler, and that is the `regenerator` one, It does so that you don't have to include regenerator runtime
in your frontend of node applications because Node has had generator support for quite some time.

## Installation

```
npm install --save babel-preset-steelbrain
```

## Usage

In your `.eslintrc`
```
{
  "presets": ["steelbrain"]
}
```
or in CLI
```
babel --presets steelbrain
# For example:
# babel --presets steelbrain src --out-dir lib
```

## Configuration

You can blacklist or configure this preset similar to how you control behavior or [`babel-preset-env`](https://github.com/babel/babel-preset-env#options).
For example:

Blacklisting the var/const transform
```
{
  "presets": [
    ["steelbrain", {
      "exclude": ["transform-es2015-block-scoping"]
    }]
  ]
}
```

Blacklisting ES Modules transpilation

```
{
  "presets": [
    ["steelbrain", {
      "modules": false
    }]
  ]
}
```

## LICENSE
This module is licensed under the terms of MIT License, check the LICENSE file for more info.

{'fraction_non_alphanumeric': 0.11821471652593486, 'fraction_numerical': 0.007840772014475271, 'mean_word_length': 4.1521739130434785, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2691374', 'n_tokens_mistral': 529, 'n_tokens_neox': 487, 'n_words': 199}