babel/babel


🐠 Babel is a compiler for writing next generation JavaScript.

https://babeljs.io/

License: MIT

Language: JavaScript

Keywords: ast, babel, compiler, es2015, es6, flavortown, javascript


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

Project Statistics

Sourcerank 30
Repository Size 40.4 MB
Stars 35,041
Forks 3,937
Watchers 880
Open issues 743
Dependencies 2,333
Contributors 682
Tags 691
Created
Last updated
Last pushed

Top Contributors See all

Sebastian Henry Zhu Logan Smyth Brian Ng Marijn Haverbeke Amjad Masad Jamie Kyle Ingvar Stepanyan Nicolò Ribaudo Justin Ridgewell Sven Sauleau Artem Yavorsky Andy Hanson Jesse McCarthy Mateusz Burzyński greenkeeper[bot] Moti Zilberman Brian Donovan Sam Goldman James DiGioia

Packages Referencing this Repo

babel-preset-stage-0
Babel preset for stage 0 plugins
Latest release 7.0.0-beta.3 - Updated - 35K stars
@babel/plugin-syntax-top-level-await
Allow parsing of top-level await in modules
Latest release 7.7.0 - Published - 35K stars
@babel/runtime-corejs3
babel's modular runtime helpers with core-js@3 polyfilling
Latest release 7.7.2 - Updated - 35K stars
@babel/plugin-proposal-private-methods
This plugin transforms private class methods
Latest release 7.6.0 - Updated - 35K stars
@gerhobbelt/babel-plugin-codemod-object-assign-to-object-spread
Transforms Object.assign into object spread syntax
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-codemod-optional-catch-binding
Remove unused catch bindings
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-preset-stage-1
Babel preset for stage 1 plugins
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-preset-es2016
Babel preset for all es2016 plugins.
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-proposal-logical-assignment-operators
Transforms logical assignment operators into short-circuited assignments
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-proposal-nullish-coalescing-operator
Remove nullish coalescing operator
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-proposal-class-properties
This plugin transforms static class properties as well as properties declared with the property i...
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-proposal-unicode-property-regex
Compile Unicode property escapes in Unicode regular expressions to ES5.
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-proposal-object-rest-spread
Compile object rest and spread to ES5
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-transform-destructuring
Compile ES2015 destructuring to ES5
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-helper-plugin-utils
General utilities for plugins to use
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-proposal-json-strings
Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-helper-module-imports
Babel helper functions for inserting module loads
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-transform-exponentiation-operator
Compile exponentiation operator to ES5
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-parser
A JavaScript parser
Latest release 7.0.1-15 - Updated - 35K stars
@gerhobbelt/babel-plugin-syntax-object-rest-spread
Allow parsing of object rest/spread
Latest release 7.0.1-15 - Updated - 35K stars

Recent Tags See all

v7.7.3 November 08, 2019
v7.7.2 November 06, 2019
v7.7.1 November 05, 2019
v7.7.0 November 05, 2019
v7.7.0 November 05, 2019
v7.6.4 October 10, 2019
v7.6.3 October 08, 2019
v7.6.2 September 23, 2019
curry-function September 22, 2019
v7.6.1 September 06, 2019
v7.6.0 September 06, 2019
v7.5.5 July 17, 2019
v7.5.4 July 09, 2019
v7.5.3 July 09, 2019
v7.5.2 July 08, 2019

Interesting Forks See all

github/babel
tropical_fish Babel is a compiler for writing next generation JavaScript.
JavaScript - Last pushed - 3 stars - 4 forks
tanhauhau/babel
tropical_fish Babel is a compiler for writing next generation JavaScript.
JavaScript - MIT - Last pushed - 2 stars
yyx990803/babel
tropical_fish Babel is a compiler for writing next generation JavaScript.
JavaScript - Updated - 2 stars - 2 forks
guybedford/babel
Turn ES6+ code into readable vanilla ES5 with source maps and more!
JavaScript - MIT - Last pushed - 2 stars
VukDukic/babel
Babel is a compiler for writing next generation JavaScript.
JavaScript - MIT - Updated - 2 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-06-21 01:00:45 UTC

Login to resync this repository