Skip to content
🐠 Babel is a compiler for writing next generation JavaScript.
JavaScript Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Allow node 12 and test it (#9907) Apr 26, 2019
.github Adds note about two approval policy to PR template (#10313) Aug 12, 2019
codemods Migrate some duplicate binding tests to traverse (#9532) Feb 20, 2019
doc Rename "babylon" to "@babel/parser" (#7937) πŸŽ‰ May 19, 2018
lib Do not delete "fake" source map comments from strings (#9960) Aug 14, 2019
packages Add a builder definition including name for tsTypeParameter (#10319) Aug 15, 2019
scripts Update dev dependencies and fix linting errors (#10228) Jul 27, 2019
test Enforce Prettier defaults + also format .babelrc and .json (#7499) Mar 6, 2018
.editorconfig Use correct extension for typescript fixtures (#10014) Jul 15, 2019
.eslintignore Update to `core-js@3` (#7646) Mar 19, 2019
.eslintrc.json Use `for..of Object.keys` instead of `for..in` (#9518) Feb 26, 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 Set NPM_TOKEN in .npmrc when publishing (#9735) [skip ci] Mar 24, 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 Allow node 12 and test it (#9907) Apr 26, 2019
CHANGELOG.md Add v7.5.5 to CHANGELOG.md [skip ci] Jul 17, 2019
CODE_OF_CONDUCT.md update COC contact (#8591) Aug 31, 2018
CONTRIBUTING.md Add CodeTriage badge to babel/babel (#10088) [skip ci] Aug 9, 2019
Gulpfile.js Fix location for optional params in arrow functions (#9998) May 21, 2019
LICENSE Use 2014-present in license (#9290) Jan 7, 2019
Makefile Revert "chore: remove FORCE_COLOR workaround" (#10336) Aug 14, 2019
README.md update sponsors links [skip ci] (#9821) Apr 4, 2019
SECURITY.md Create SECURITY.md (#10018) May 25, 2019
SONG.md Update SONG.md Feb 18, 2019
babel.config.js Bump deps (#10007) May 21, 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
lerna.json v7.5.5 Jul 17, 2019
package.json Update dev dependencies and fix linting errors (#10228) Jul 27, 2019
yarn.lock Update @lerna/collect-updates git hash Aug 13, 2019

README.md

babel

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:

Sponsors

Our top sponsors are shown below! [Become a sponsor]

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

You can’t perform that action at this time.