🐠 Babel is a compiler for writing next generation JavaScript.
Branch: master
Clone or download
imjacobclark and nicolo-ribaudo Pull in chokidar 2.0.4 to pull in patched braces (#9550)
chokidar 2.0.3 pulled in an older version of braces which is vulnerable to https://www.npmjs.com/advisories/786, this upgrades chokidar up a patch version where its dependencies have been updated resolving this vulnerability.
Latest commit 879a590 Feb 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add node 11 to CI and remove node 9 (#9096) Nov 28, 2018
.github Create a new release after a v*.*.* commit instead of the tag (#9470) Feb 15, 2019
codemods Migrate some duplicate binding tests to traverse (#9532) Feb 20, 2019
doc Rename "babylon" to "@babel/parser" (#7937) πŸŽ‰ May 19, 2018
lib Remove definition of micromatch which was removed. (#8988) Nov 7, 2018
packages Pull in chokidar 2.0.4 to pull in patched braces (#9550) Feb 20, 2019
scripts Add duplicate-package-checker-webpack-plugin (#9517) Feb 15, 2019
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 chore: Enable eqeqeq rule in eslint (#9541) Feb 19, 2019
.flowconfig Fix running flow on travis and update flow (#9128) Dec 5, 2018
.gitattributes Fix .gitattributes line ending setting (#191) Oct 17, 2016
.gitignore Use a GitHub Action to generate the changelog (#9434) [skip ci] Feb 4, 2019
.prettierignore Add test sources to prettierignore (#9287) [skip ci] Jan 6, 2019
.prettierrc Format fixture JSON with Prettier. (#8658) Sep 10, 2018
.travis.yml Move to travis vm based builds (#9133) Dec 5, 2018
CHANGELOG.md Update CHANGELOG.md [skip ci] Feb 19, 2019
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 Show real version instead of core/preset-env versions in standalone p… Feb 9, 2019
LICENSE Use 2014-present in license (#9290) Jan 7, 2019
Makefile Update publishing command (#9466) [skip ci] Feb 7, 2019
README.md add v7 downloads [skip ci] (#9370) Jan 21, 2019
SONG.md Update SONG.md Feb 18, 2019
babel.config.js Build the parser also for node 6.9 and up Jan 18, 2019
babel.sublime-project Convert UMD to use new implementation of module logic. Sep 13, 2017
codecov.yml Exclude generate @babel/types files from coverage report (#9469) Feb 8, 2019
eslint-local-rules.js Add plugins name (#8769) Nov 18, 2018
lerna.json v7.3.3 Feb 15, 2019
package.json Add import/no-extraneous-dependencies to ESLint (#9533) Feb 18, 2019
yarn.lock Add import/no-extraneous-dependencies to ESLint (#9533) Feb 18, 2019



The compiler for writing next generation JavaScript.

v7 npm Downloads v6 npm Downloads

Travis Status CircleCI Status Coverage Status Slack Status Follow on Twitter

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]



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.


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


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

Try it out at our REPL.


Who maintains Babel?

Mostly a handful of volunteers, funded by you! 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.