# @babel/preset-es2015

> Babel preset for all es2015 plugins.

Latest version **7.0.0-beta.53** (published 2018-07-11) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @babel/preset-es2015
pnpm add @babel/preset-es2015
yarn add @babel/preset-es2015
bun add @babel/preset-es2015
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 7.0.0-beta.53 |
| Published | 2018-07-11 |
| First published | 2017-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 25 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 44016 |
| Author | Sebastian McKenzie |
| Maintainers | danez, existentialism, hzoo, loganfsmyth, xtuc |

## Links

- npm: https://www.npmjs.com/package/@babel/preset-es2015
- Repository: https://github.com/babel/babel/tree/master/packages/babel-preset-es2015
- Homepage: https://babeljs.io/
- npm.io page: https://npm.io/package/@babel/preset-es2015

## Dependencies (25)

- [@babel/helper-plugin-utils](https://npm.io/package/@babel/helper-plugin-utils.md) 7.0.0-beta.53
- [@babel/plugin-transform-for-of](https://npm.io/package/@babel/plugin-transform-for-of.md) 7.0.0-beta.53
- [@babel/plugin-transform-spread](https://npm.io/package/@babel/plugin-transform-spread.md) 7.0.0-beta.53
- [@babel/plugin-transform-classes](https://npm.io/package/@babel/plugin-transform-classes.md) 7.0.0-beta.53
- [@babel/plugin-transform-literals](https://npm.io/package/@babel/plugin-transform-literals.md) 7.0.0-beta.53
- [@babel/plugin-transform-instanceof](https://npm.io/package/@babel/plugin-transform-instanceof.md) 7.0.0-beta.53
- [@babel/plugin-transform-parameters](https://npm.io/package/@babel/plugin-transform-parameters.md) 7.0.0-beta.53
- [@babel/plugin-transform-modules-amd](https://npm.io/package/@babel/plugin-transform-modules-amd.md) 7.0.0-beta.53
- [@babel/plugin-transform-modules-umd](https://npm.io/package/@babel/plugin-transform-modules-umd.md) 7.0.0-beta.53
- [@babel/plugin-transform-regenerator](https://npm.io/package/@babel/plugin-transform-regenerator.md) 7.0.0-beta.53
- [@babel/plugin-transform-object-super](https://npm.io/package/@babel/plugin-transform-object-super.md) 7.0.0-beta.53
- [@babel/plugin-transform-sticky-regex](https://npm.io/package/@babel/plugin-transform-sticky-regex.md) 7.0.0-beta.53
- [@babel/plugin-transform-block-scoping](https://npm.io/package/@babel/plugin-transform-block-scoping.md) 7.0.0-beta.53
- [@babel/plugin-transform-destructuring](https://npm.io/package/@babel/plugin-transform-destructuring.md) 7.0.0-beta.53
- [@babel/plugin-transform-function-name](https://npm.io/package/@babel/plugin-transform-function-name.md) 7.0.0-beta.53
- [@babel/plugin-transform-typeof-symbol](https://npm.io/package/@babel/plugin-transform-typeof-symbol.md) 7.0.0-beta.53
- [@babel/plugin-transform-unicode-regex](https://npm.io/package/@babel/plugin-transform-unicode-regex.md) 7.0.0-beta.53
- [@babel/plugin-transform-duplicate-keys](https://npm.io/package/@babel/plugin-transform-duplicate-keys.md) 7.0.0-beta.53
- [@babel/plugin-transform-arrow-functions](https://npm.io/package/@babel/plugin-transform-arrow-functions.md) 7.0.0-beta.53
- [@babel/plugin-transform-modules-commonjs](https://npm.io/package/@babel/plugin-transform-modules-commonjs.md) 7.0.0-beta.53
- [@babel/plugin-transform-modules-systemjs](https://npm.io/package/@babel/plugin-transform-modules-systemjs.md) 7.0.0-beta.53
- [@babel/plugin-transform-template-literals](https://npm.io/package/@babel/plugin-transform-template-literals.md) 7.0.0-beta.53
- [@babel/plugin-transform-computed-properties](https://npm.io/package/@babel/plugin-transform-computed-properties.md) 7.0.0-beta.53
- [@babel/plugin-transform-shorthand-properties](https://npm.io/package/@babel/plugin-transform-shorthand-properties.md) 7.0.0-beta.53
- [@babel/plugin-transform-block-scoped-functions](https://npm.io/package/@babel/plugin-transform-block-scoped-functions.md) 7.0.0-beta.53

## Recent versions

- 7.0.0-beta.53 (latest) — 2018-07-11
- 7.0.0-beta.52 — 2018-07-06
- 7.0.0-beta.51 — 2018-06-12
- 7.0.0-beta.50 — 2018-06-12
- 7.0.0-beta.49 — 2018-05-25
- 7.0.0-beta.48 — 2018-05-24
- 7.0.0-beta.47 — 2018-05-15
- 7.0.0-beta.46 — 2018-04-23
- 7.0.0-beta.45 — 2018-04-23
- 7.0.0-beta.44 — 2018-04-02
- 7.0.0-beta.43 — 2018-04-02
- 7.0.0-beta.42 — 2018-03-15
- 7.0.0-beta.41 — 2018-03-14
- 7.0.0-beta.40 — 2018-02-12
- 7.0.0-beta.39 — 2018-01-30
- … 10 more at https://npm.io/package/@babel/preset-es2015/versions

## README

<p align="center">
  <a href="https://babeljs.io/">
    <img alt="babel" src="https://raw.githubusercontent.com/babel/logo/master/babel.png" width="546">
  </a>
</p>

<p align="center">
  The compiler for writing next generation JavaScript.
</p>

<p align="center">
    <a href="https://npmx.dev/package/@babel/core"><img alt="npm Downloads" src="https://img.shields.io/npm/dm/@babel/core.svg?maxAge=43200&label=npm%20downloads&logo=babel&logoSize=auto"></a>
</p>
<p align="center">
  <a href="https://github.com/babel/babel/actions/workflows/ci.yml"><img alt="GitHub CI Status" src="https://github.com/babel/babel/actions/workflows/ci.yml/badge.svg?branch=main"></a>
  <a href="https://codecov.io/github/babel/babel"><img alt="Coverage Status" src="https://img.shields.io/codecov/c/github/babel/babel/main.svg?maxAge=43200&logo=codecov"></a>
  <a href="https://pkg.pr.new/~/babel/babel"><img alt="pkg.pr.new" src="https://img.shields.io/badge/PR_previews-pkg.pr.new-10a5e9"></a>
</p>
<p align="center">
  <a href="https://slack.babeljs.io/"><img alt="Slack Status" src="https://img.shields.io/badge/chat-on_slack-brightgreen?style=flat&logo=slack&logoColor=white"></a>
</p>

<h2 align="center">Supporting Babel</h2>

<p align="center">
  <a href="#backers"><img alt="Backers on Open Collective" src="https://opencollective.com/babel/backers/badge.svg" /></a>
  <a href="#sponsors"><img alt="Sponsors on Open Collective" src="https://opencollective.com/babel/sponsors/badge.svg" /></a>
  <a href="https://medium.com/friendship-dot-js/i-peeked-into-my-node-modules-directory-and-you-wont-believe-what-happened-next-b89f63d21558"><img alt="Business Strategy Status" src="https://img.shields.io/badge/business%20model-flavortown-green.svg"></a>
</p>

Babel (pronounced ["babble"](https://soundcloud.com/sebmck/how-to-pronounce-babel))  is a community-driven project used by many companies and projects, and is maintained by a group of [volunteers](https://babeljs.io/team). If you'd like to help support the future of the project, please consider:

- Giving developer time on the project. (Message us on [Twitter](https://twitter.com/babeljs) or [Slack](https://slack.babeljs.io/) for guidance!)
- Giving funds by becoming a sponsor on [Open Collective](https://opencollective.com/babel) or [GitHub](https://github.com/sponsors/babel/) (which goes to our Open Collective account)!

## Sponsors

Our top sponsors are shown below! [[Become a sponsor](https://opencollective.com/babel#sponsor)]

<a href="https://opencollective.com/babel/sponsor/0/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/1/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/2/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/3/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/4/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/5/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/6/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/7/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/8/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/9/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/10/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/10/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/11/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/11/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/12/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/12/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/13/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/13/avatar.svg"></a>
<a href="https://opencollective.com/babel/sponsor/14/website" target="_blank"><img src="https://opencollective.com/babel/sponsor/14/avatar.svg"></a>

## Intro

Babel is a tool that helps you write code in the latest version of JavaScript. When your supported environments don't support certain features natively, Babel will help you compile those features down to a supported version.

**In**

```js
// ES2020 nullish coalescing
function greet(input) {
  return input ?? "Hello world";
}
```

**Out**

```js
function greet(input) {
  return input != null ? input : "Hello world";
}
```

Try it out at our [REPL](https://babel.dev/repl#?browsers=defaults&loose=true&code_lz=GYVwdgxgLglg9mABAcwE4FN1QBQzABxCgEpEBvAKEUQyhFST0KkQH5XEAiACXQBs-cRAHc4qPgBNOAbgoBfIA&shippedProposals=true&sourceType=script&lineWrap=true&presets=env%2Cenv&prettier=true&forceAllTransforms=true).

## FAQ

### Who maintains Babel?

Mostly a handful of volunteers, funded by you! Please check out our [team page](https://babeljs.io/team)!

### Is there a Babel song?

I'm so glad you asked: [Hallelujah —— In Praise of Babel](SONG.md) by [@angus-c](https://github.com/angus-c), [audio version](https://youtu.be/40abpedBKK8) by [@swyx](https://twitter.com/@swyx). Tweet us your recordings!

### Looking for support?

For questions and support please [join or open a GitHub Discussion](https://github.com/babel/babel/discussions), join our [Slack Community](https://slack.babeljs.io/) (you can [sign up here](https://slack.babeljs.io/) for an invite), ask a question on [Stack Overflow](https://stackoverflow.com/questions/tagged/babeljs), or ping us on [Bluesky](https://bsky.app/profile/babel.dev).

### Where are the docs?

Check out our website: [babeljs.io](https://babeljs.io/), and report issues/features at [babel/website](https://github.com/babel/website/issues).

### Want to report a bug or request a feature?

Please read through our [CONTRIBUTING.md](CONTRIBUTING.md) and fill out the issue template at [babel/issues](https://github.com/babel/babel/issues)!

### Want to contribute to Babel?

Check out:

- Our [#development](https://babeljs.slack.com/messages/development) Slack channel and say hi! ([sign-up](https://slack.babeljs.io))
- Issues with the [good first issue](https://github.com/babel/babel/labels/good%20first%20issue) and [help wanted](https://github.com/babel/babel/labels/help%20wanted) label. We suggest also looking at the [closed ones](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aclosed+label%3A%22good+first+issue%22) to get a sense of the kinds of issues you can tackle.

Some resources:

- Our [CONTRIBUTING.md](CONTRIBUTING.md) to get started with setting up the repo.
- Our discussions/notes/roadmap: [babel/notes](https://github.com/babel/notes)
- Our progress on TC39 proposals: [babel/proposals](https://github.com/babel/proposals)
- Our blog which contains release posts and explanations: [/blog](https://babeljs.io/blog)
- Our videos page with talks about open source and Babel: [/videos](https://babeljs.io/videos)
- Our [podcast](https://podcast.babeljs.io)

### How is the repo structured?

The Babel repo is managed as a [monorepo](doc/design/monorepo.md) that is composed of many [npm packages](packages/README.md).

## License

[MIT](LICENSE)

---
_Source: https://npm.io/package/@babel/preset-es2015 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
