Back to rankings

babel/babel

TypeScriptbabel.dev

🐠 Babel is a compiler for writing next generation JavaScript.

babeljavascriptastcompilerflavortownes6es2015
Star Growth
Stars
44k
Forks
5.9k
Weekly Growth
—
Issues
590
20k40k
Sep 2014Aug 2018Aug 2022Jul 2026
Artifactsnpmnpm install babel
README

babel

The compiler for writing next generation JavaScript.

npm Downloads

GitHub CI Status Coverage Status pkg.pr.new

Slack Status

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 or open a GitHub Discussion, join our Slack Community (you can sign up here for an invite), ask a question on Stack Overflow, or ping us on Bluesky.

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

Related repositories
swc-project/swc

Rust-based platform for the Web

Rustcrates.ioApache License 2.0ecmascriptcompiler
swc.rs
34.1k1.5k
nylas/nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!

JavaScriptnpmMIT Licenseelectronjavascript
nylas.com/nylas-mail/
24.7k1.3k
electron-react-boilerplate/electron-react-boilerplate

A Foundation for Scalable Cross-Platform Apps

TypeScriptnpmMIT Licenseelectronboilerplate
electron-react-boilerplate.js.org
24.3k4k
SimulatedGREG/electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.

JavaScriptnpmMIT Licenseelectronvue
simulatedgreg.gitbooks.io/electron-vue/content/
15.4k1.5k
grab/front-end-guide

📚 Study guide and introduction to the modern front end stack.

JavaScriptnpmMIT Licensefront-endgrab
15.2k1.1k
ast-grep/ast-grep

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

Rustcrates.ioMIT Licensecodemodlinter
ast-grep.github.io
15.1k417
jamiebuilds/babel-handbook

:blue_book: A guided handbook on how to use Babel and how to create plugins for Babel.

Creative Commons Attribution 4.0 Internationalbabelhandbook
12.1k1.8k
developit/htm

Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.

JavaScriptnpmApache License 2.0jsxbabel
9k179
grommet/grommet

a react-based framework that provides accessibility, modularity, responsiveness, and theming in a tidy package

JavaScriptnpmApache License 2.0grommetjavascript
grommet.io
8.4k1k
ben-rogerson/twin.macro

đŸŠč‍♂ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.

TypeScriptnpmMIT Licensetailwindtailwindcss
8k178
fkling/astexplorer

A web tool to explore the ASTs generated by various parsers.

JavaScriptnpmMIT Licenseast-explorerparser
astexplorer.net
6.5k776
angular-fullstack/generator-angular-fullstack

Yeoman generator for an Angular app with an Express server

JavaScriptnpmyeoman-generatorjavascript
awk34.gitbook.io/generator-angular-fullstack
6.1k1.2k