MCPcopy Create free account
hub / github.com/babel/babel

github.com/babel/babel

Chat with this repo
repository ↗ · DeepWiki ↗ · release v8.0.4 ↗ · + Follow · compare 2 versions
28,897 symbols 55,751 edges 17,550 files 255 documented · 1% updated 5d agov8.0.4 · 2026-07-09★ 44,105591 open issues

Browse by type

Functions 17,878 Types & classes 11,019
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

babel

The compiler for writing next generation JavaScript.

<a href="https://npmx.dev/package/@babel/core"><img alt="npm Downloads" src="https://img.shields.io/npm/dm/@babel/core.svg?maxAge=43200&label=npm%20downloads&logo=babel&logoSize=auto"></a>

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

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 10,710
Class 10,089
Method 7,168
Interface 725
Enum 205

Languages

TypeScript100%

Modules by API surface

Makefile.js716 symbols
packages/babel-traverse/src/path/generated/validators.d.ts305 symbols
packages/babel-types/src/asserts/generated/index.ts304 symbols
packages/babel-traverse/src/path/generated/asserts.d.ts304 symbols
packages/babel-types/src/validators/generated/index.ts303 symbols
packages/babel-types/src/ast-types/generated/index.ts269 symbols
packages/babel-types/src/builders/generated/lowercase.ts252 symbols
packages/babel-parser/src/plugins/typescript/index.ts204 symbols
packages/babel-parser/src/plugins/flow/index.ts154 symbols
packages/babel-parser/src/parser/statement.ts122 symbols
packages/babel-parser/src/parser/expression.ts111 symbols
packages/babel-generator/src/generators/typescript.ts75 symbols

Dependencies from manifests, versioned

$repo-utilslink:./scripts/repo- · 1×
@actions/github9.1.1 · 1×
@babel-baseline/cli
@babel-baseline/core
@babel-baseline/generator
@babel-baseline/helper-compilation-targets
@babel-baseline/helper-validator-identifier
@babel-baseline/parser
@babel-baseline/traverse
@babel/cli8.0.1 · 1×
@babel/code-frameworkspace:^ · 1×

For agents

$ claude mcp add babel \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page