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 37.5 MB
Stars 33,390
Forks 3,553
Watchers 863
Open issues 758
Dependencies 2,298
Contributors 676
Tags 672
Created
Last updated
Last pushed

Top Contributors See all

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

Packages Referencing this Repo

@babel/plugin-transform-regenerator
Explode async and generator functions into a state machine.
Latest release 7.0.0 - Updated - 33.4K stars
@babel/plugin-transform-template-literals
Compile ES2015 template literals to ES5
Latest release 7.2.0 - Updated - 33.4K stars
@babel/plugin-transform-modules-commonjs
This plugin transforms ES2015 modules to CommonJS
Latest release 7.2.0 - Updated - 33.4K stars
@babel/cli
Babel command line.
Latest release 7.2.0 - Updated - 33.4K stars
@babel/plugin-syntax-object-rest-spread
Allow parsing of object rest/spread
Latest release 7.2.0 - Updated - 33.4K stars
@babel/plugin-syntax-async-generators
Allow parsing of async generator functions
Latest release 7.2.0 - Updated - 33.4K stars
@babel/plugin-proposal-object-rest-spread
Compile object rest and spread to ES5
Latest release 7.2.0 - Updated - 33.4K stars
@babel/plugin-transform-async-to-generator
Turn async functions into ES2015 generators
Latest release 7.2.0 - Updated - 33.4K stars
@babel/plugin-transform-arrow-functions
Compile ES2015 arrow functions to ES5
Latest release 7.2.0 - Updated - 33.4K stars
@babel/plugin-transform-exponentiation-operator
Compile exponentiation operator to ES5
Latest release 7.2.0 - Updated - 33.4K stars
@babel/preset-env
A Babel preset for each environment.
Latest release 7.2.0 - Updated - 33.4K stars
@babel/polyfill
Provides polyfills necessary for a full ES2015+ environment
Latest release 7.0.0 - Updated - 33.4K stars
@babel/code-frame
Generate errors that contain a code frame that point to source locations.
Latest release 7.0.0 - Updated - 33.4K stars
@babel/helpers
Collection of helper functions used by Babel transforms.
Latest release 7.2.0 - Updated - 33.4K stars
@babel/generator
Turns an AST into code.
Latest release 7.2.0 - Updated - 33.4K stars
@babel/types
Babel Types is a Lodash-esque utility library for AST nodes
Latest release 7.2.0 - Updated - 33.4K stars
@babel/template
Generate an AST from a string template.
Latest release 7.1.2 - Updated - 33.4K stars
@babel/traverse
The Babel Traverse module maintains the overall tree state, and is responsible for replacing, rem...
Latest release 7.1.6 - Updated - 33.4K stars
@babel/register
babel require hook
Latest release 7.0.0 - Updated - 33.4K stars
@babel/plugin-transform-classes
Compile ES2015 classes to ES5
Latest release 7.2.0 - Updated - 33.4K stars

Recent Tags See all

v7.4.5 May 21, 2019
v7.4.4 April 26, 2019
v7.4.3 April 02, 2019
v7.4.2 March 21, 2019
v7.4.1 March 19, 2019
v7.4.0 March 19, 2019
v7.3.4 February 25, 2019
v7.3.3 February 15, 2019
v7.3.2 February 04, 2019
v7.3.1 January 22, 2019
v7.3.0 January 21, 2019
v7.2.5 December 21, 2018
v7.2.4 December 20, 2018
v7.2.3 December 20, 2018
v7.2.2 December 15, 2018

Interesting Forks See all

github/babel
tropical_fish Babel is a compiler for writing next generation JavaScript.
JavaScript - Last pushed - 3 stars - 4 forks
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
oscarg933/babel
tropical_fish Babel is a compiler for writing next generation JavaScript.
JavaScript - MIT - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-04-28 09:49:15 UTC

Login to resync this repository