🐠 Babel is a compiler for writing next generation JavaScript.
Clone or download
Permalink
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 add triage label to new issues [skip ci] (#9158) Dec 12, 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 Remove definition of micromatch which was removed. (#8988) Nov 7, 2018
packages Add support for transform-named-capturing-groups-regex in preset-env (#… Jan 18, 2019
scripts Disallow async functions as loop bodies (#9314) Jan 17, 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 Use @babel/eslint-plugin-developement (#9206) Dec 18, 2018
.flowconfig Fix running flow on travis and update flow (#9128) Dec 5, 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 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 Dec 12, 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 Use 2014-present in license (#9290) Jan 7, 2019
Makefile [@babel/types] Moved generators related to babel-types into the babel… Jan 8, 2019
README.md update sponsor link again [skip ci] Jan 13, 2019
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 Add plugins name (#8769) Nov 18, 2018
lerna.json v7.2.5 Dec 21, 2018
package.json Update lerna to v3.6.0 Dec 20, 2018
yarn.lock Update lerna to v3.6.0 Dec 20, 2018

README.md

babel

The compiler for writing next generation JavaScript.

Travis Status CircleCI Status Coverage Status Slack Status npm Downloads 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]

Bronze

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, 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.

License

MIT