Skip to content
🐠 Babel is a compiler for writing next generation JavaScript.
JavaScript Other
Branch: master
Clone or download

Latest commit

JLHwung fix: do not push new token context when function is following dot/que…
…stionDot (#11388)

* fix: do not push new token context when function is following dot/questionDot

* more cautiously poping context
Latest commit 8b976b0 Apr 8, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Test Babel compiled using an old version of `@babel/core` (#11319) Mar 23, 2020
.codesandbox Add CodeSandbox CI Config (#10639) Nov 25, 2019
.github Create Npm_error.md issue template (#11217) Mar 17, 2020
codemods Revert "chore: specify package type (#10849)" (#11003) Jan 13, 2020
doc Fix grammar in doc/design/monorepo.md 🤓 (#10496) [skip ci] Sep 26, 2019
eslint Add estree parsing support for `export * as A` (#11254) Mar 16, 2020
lib Include preset modules (#11083) Mar 16, 2020
packages fix: do not push new token context when function is following dot/que… Apr 8, 2020
scripts Fix createSuper in Babel <7.5.5 (#11341) Apr 2, 2020
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 Centralize @babel/eslint-* tests (#11106) Feb 8, 2020
.eslintrc.js Add eslint-plugin-jest (#11119) Feb 10, 2020
.flowconfig Include preset modules (#11083) Mar 16, 2020
.gitattributes Fix .gitattributes line ending setting (#191) Oct 17, 2016
.gitignore Add .yarn/install-state.gz to .gitignore [skip ci] Feb 27, 2020
.prettierignore Extract targets parser and compat data from preset-env (#10899) Jan 10, 2020
.prettierrc Update ESLint/Prettier config for eslint/* packages (#10724) Nov 16, 2019
.travis.yml chore: cache chocolatey install temp (#10874) Dec 18, 2019
CHANGELOG.md Add v7.9.5 to CHANGELOG.md [skip ci] Apr 7, 2020
CODE_OF_CONDUCT.md update COC contact (#8591) Aug 31, 2018
CONTRIBUTING.md Added instructions to fork the repo in order to setup. (#10973) Jan 10, 2020
Gulpfile.js chore: fix build-babel exclude in gulpfile (#11293) Mar 21, 2020
LICENSE Use 2014-present in license (#9290) Jan 7, 2019
Makefile Fix e2e publish test when branching from an older version (#11347) Mar 30, 2020
README.md chore: fix typo (#10725) Nov 16, 2019
SECURITY.md Create SECURITY.md (#10018) May 25, 2019
SONG.md Update SONG.md Feb 18, 2019
babel.config.js Add @babel/helper-validator-identifier (#11289) Mar 20, 2020
babel.sublime-project Convert UMD to use new implementation of module logic. Sep 13, 2017
codecov.yml Bump coverage target from 80% to 90% (#10964) Jan 5, 2020
jest.config.js Archive @babel/plugin-syntax-export-namespace-from (#11236) Mar 11, 2020
lerna.json v7.9.5 Apr 7, 2020
package.json chore: remove unused graceful-fs (#11329) Mar 25, 2020
yarn.lock Bump handlebars dep (#11374) Apr 3, 2020

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!

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!

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.

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:

Some resources:

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.