🐠 Babel is a compiler for writing next generation JavaScript.
Switch branches/tags
Clone or download
Permalink
Failed to load latest commit information.
.circleci Test on node 10 (#7908) Jun 4, 2018
.github Move v4, v5, v6 changelogs to separate files [skip ci] (#8286) Jul 7, 2018
codemods Use jsonc to parse babelrc comments in markdown files (#8643) [skip ci] Sep 7, 2018
doc Rename "babylon" to "@babel/parser" (#7937) πŸŽ‰ May 19, 2018
lib Expose an API to check if a helper is available in a given version ra… Aug 3, 2018
packages fixed "source map" formatting in comment (#8878) [skip ci] Oct 19, 2018
scripts Run test262 tests for exportNamespaceFrom (#8780) Sep 27, 2018
test Enforce Prettier defaults + also format .babelrc and .json (#7499) Mar 6, 2018
.editorconfig Add Babel's song: Hallelujah (thanks to Angus) [skip ci] (#6994) Dec 8, 2017
.eslintignore Split @babel/runtime into two separate runtime modules. Aug 3, 2018
.eslintrc.json babel-eslint@9.0.0 (#8680) Sep 14, 2018
.flowconfig Update dependencies (#8364) Aug 17, 2018
.gitattributes Fix .gitattributes line ending setting (#191) Oct 17, 2016
.gitignore Add LICENSE file to published npm packages [skip ci] (#8409) Aug 23, 2018
.prettierignore Clean up and add some additional polyfill mappings in preset-env (#7809) May 10, 2018
.prettierrc Format fixture JSON with Prettier. (#8658) Sep 10, 2018
.travis.yml Test on node 10 (#7908) Jun 4, 2018
CHANGELOG.md add changelog up to 7.1.2 [skip ci] Sep 28, 2018
CODE_OF_CONDUCT.md update COC contact (#8591) Aug 31, 2018
CONTRIBUTING.md fix typo in contributing guidelines (#8901) [skip ci] Oct 19, 2018
Gulpfile.js Rename "babylon" to "@babel/parser" (#7937) πŸŽ‰ May 19, 2018
LICENSE Remove LICENSE email and refer to other contributors (#8574) [skip ci] Aug 29, 2018
Makefile Run test262 tests for exportNamespaceFrom (#8780) Sep 27, 2018
README.md fixed an extra word Oct 14, 2018
SONG.md Add link to audio version of song (#8320) Jul 13, 2018
babel.config.js Run transform-runtime on the standalone bundle so it stays ES5-compat… Jul 29, 2018
babel.sublime-project Convert UMD to use new implementation of module logic. Sep 13, 2017
codecov.yml Set a basic coverage rate to avoid tiny percentage changes from 'auto… Apr 10, 2017
eslint-local-rules.js Use eslint-local-rules plugin Sep 7, 2018
lerna.json v7.1.4 Oct 11, 2018
package.json Bump Babel deps (#8770) Oct 10, 2018
yarn.lock Fixes #8865 (#8866) Oct 12, 2018

README.md

babel

The compiler for writing next generation JavaScript.

Travis Status CircleCI Status Coverage Status Slack Status npm Downloads

Supporting Babel

Backers on Open Collective Sponsors on Open Collective Business Strategy Status

Babel (pronounced "babble") is a community-driven project used by many companies and projects, and is maintained by a group of volunteers. If you'd like to help support the future of the project, please consider:

  • Giving developer time on the project. (Message us on Twitter or Slack for guidance!)
  • Giving funds by becoming a sponsor (see below)!

Open Collective Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Patreon Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Silver

Bronze

Mike Sherov

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

// ES2015 arrow function
[1, 2, 3].map((n) => n + 1);

Out

[1, 2, 3].map(function(n) {
  return n + 1;
});

Try it out at our REPL.

FAQ

Who maintains Babel?

Mostly a handful of volunteers! Please check out our team page!

Looking for support?

For questions and support please join our Slack Community (you can sign-up here for an invite), ask a question on Stack Overflow, or ping us on Twitter.

Is there a Babel song?

I'm so glad you asked: Hallelujah β€”β€” In Praise of Babel by @angus-c, audio version by @swyx. Tweet us your recordings!

Where are the docs?

Check out our website: babeljs.io, and report issues/features at babel/website.

Want to report a bug or request a feature?

Please read through our CONTRIBUTING.md and fill out the issue template at babel/issues!

Want to contribute to Babel?

Check out our CONTRIBUTING.md to get started with setting up the repo.

  • If you have already joined Slack, join our #development channel and say hi!
  • Check out the issues with the good first issue and help wanted label. We suggest also looking at the closed ones to get a sense of the kinds of issues you can tackle.
  • Our discussions/notes/roadmap: babel/notes
  • Our progress on TC39 proposals: babel/proposals

How is the repo structured?

The Babel repo is managed as a monorepo that is composed of many npm packages.

License

MIT