<commit_before>---
layout: docs
title: ES2015 preset
description: Only compiles ES2015 to ES5
permalink: /docs/plugins/preset-es2015/
package: babel-preset-es2015
---

> If you want to stay up to date, use the [latest preset](/docs/plugins/preset-latest/)

This preset includes the following plugins:

- [check-es2015-constants](/docs/plugins/check-es2015-constants/)
- [transform-es2015-arrow-functions](/docs/plugins/transform-es2015-arrow-functions/)
- [transform-es2015-block-scoped-functions](/docs/plugins/transform-es2015-block-scoped-functions/)
- [transform-es2015-block-scoping](/docs/plugins/transform-es2015-block-scoping/)
- [transform-es2015-classes](/docs/plugins/transform-es2015-classes/)
- [transform-es2015-computed-properties](/docs/plugins/transform-es2015-computed-properties/)
- [transform-es2015-destructuring](/docs/plugins/transform-es2015-destructuring/)
- [transform-es2015-duplicate-keys](/docs/plugins/transform-es2015-duplicate-keys)/ 
- [transform-es2015-for-of](/docs/plugins/transform-es2015-for-of/)
- [transform-es2015-function-name](/docs/plugins/transform-es2015-function-name/)
- [transform-es2015-literals](/docs/plugins/transform-es2015-literals/)
- [transform-es2015-modules-commonjs](/docs/plugins/transform-es2015-modules-commonjs/)<commit_msg>Move slash into the right place, looks like a typo<commit_after>---
layout: docs
title: ES2015 preset
description: Only compiles ES2015 to ES5
permalink: /docs/plugins/preset-es2015/
package: babel-preset-es2015
---

> If you want to stay up to date, use the [latest preset](/docs/plugins/preset-latest/)

This preset includes the following plugins:

- [check-es2015-constants](/docs/plugins/check-es2015-constants/)
- [transform-es2015-arrow-functions](/docs/plugins/transform-es2015-arrow-functions/)
- [transform-es2015-block-scoped-functions](/docs/plugins/transform-es2015-block-scoped-functions/)
- [transform-es2015-block-scoping](/docs/plugins/transform-es2015-block-scoping/)
- [transform-es2015-classes](/docs/plugins/transform-es2015-classes/)
- [transform-es2015-computed-properties](/docs/plugins/transform-es2015-computed-properties/)
- [transform-es2015-destructuring](/docs/plugins/transform-es2015-destructuring/)
- [transform-es2015-duplicate-keys](/docs/plugins/transform-es2015-duplicate-keys/) 
- [transform-es2015-for-of](/docs/plugins/transform-es2015-for-of/)
- [transform-es2015-function-name](/docs/plugins/transform-es2015-function-name/)
- [transform-es2015-literals](/docs/plugins/transform-es2015-literals/)
- [transform-es2015-modules-commonjs](/docs/plugins/transform-es2015-modules-commonjs/)
{'fraction_non_alphanumeric': 0.1588212782242633, 'fraction_numerical': 0.08649062380405664, 'mean_word_length': 5.165094339622642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1855022', 'n_tokens_mistral': 1017, 'n_tokens_neox': 845, 'n_words': 100}