Skip to content

babel/babel

Folders and files

NameName
Last commit message
Last commit date
Nov 8, 2024
Jan 30, 2021
Mar 27, 2025
Jul 3, 2024
Sep 11, 2024
Mar 17, 2025
Mar 31, 2025
Mar 27, 2025
Feb 11, 2024
Mar 31, 2025
Sep 6, 2024
Apr 1, 2025
Mar 31, 2025
Dec 13, 2024
Sep 11, 2024
Jul 15, 2019
Sep 17, 2020
Jan 22, 2021
Mar 28, 2025
Jul 24, 2022
Feb 6, 2024
Mar 31, 2025
Jan 8, 2024
Mar 17, 2025
Mar 24, 2025
Apr 1, 2021
Oct 22, 2024
Mar 31, 2025
Jan 7, 2019
Mar 31, 2025
Mar 31, 2025
Mar 31, 2025
Mar 2, 2022
Feb 29, 2024
Feb 18, 2019
Mar 31, 2025
Mar 31, 2025
Sep 11, 2024
Mar 9, 2022
Mar 31, 2025
Mar 28, 2025
Jul 26, 2022
Mar 31, 2025
Jul 26, 2024
Jun 21, 2024
Feb 14, 2025
Feb 14, 2025
Nov 8, 2024
Mar 27, 2025
Mar 31, 2025

Repository files navigation

babel

The compiler for writing next generation JavaScript.

Gitpod ready-to-code

v7 npm Downloads v6 npm Downloads

GitHub CI 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 on Open Collective or GitHub (which goes to our Open Collective account)!

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

// ES2020 nullish coalescing
function greet(input) {
  return input ?? "Hello world";
}

Out

function greet(input) {
  return input != null ? input : "Hello world";
}

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