babel/babel


tropical_fish 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.

Travis Status CircleCI Status Coverage Status Slack Status npm Downloads

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 (see below)!

Open Collective Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Patreon Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Silver

Bronze

Mike Sherov

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! 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 29
Repository Size 35.5 MB
Stars 30,950
Forks 3,185
Watchers 866
Open issues 732
Dependencies 2,034
Contributors 644
Tags 657
Created
Last updated
Last pushed

Top Contributors See all

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

Packages Referencing this Repo

babel-plugin-transform-object-rest-spread
Compile object rest and spread to ES5
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-transform-async-to-generator
Turn async functions into ES2015 generators
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-preset-stage-2
Babel preset for stage 2 plugins
Latest release 7.0.0-beta.3 - Updated - 31K stars
@babel/preset-stage-0
Babel preset for stage 0 plugins
Latest release 7.0.0 - Updated - 31K stars
@babel/preset-react
Babel preset for all React plugins.
Latest release 7.0.0 - Updated - 31K stars
babel-preset-stage-0
Babel preset for stage 0 plugins
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-preset-es2015
Babel preset for all es2015 plugins.
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-external-helpers
This plugin contains helper functions that’ll be placed at the top of the generated code
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-preset-stage-3
Babel preset for stage 3 plugins
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel
Turn ES6 code into readable vanilla ES5 with source maps
Latest release 6.23.0 - Updated - 31K stars
babel-preset-latest
Babel preset including es2015+
Latest release 7.0.0-alpha.7 - Updated - 31K stars
babel-plugin-syntax-jsx
Allow parsing of jsx
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-transform-object-assign
Replace Object.assign with an inline helper
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-transform-es5-property-mutators
Compile ES5 property mutator shorthand syntax to Object.defineProperty
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-transform-es2015-modules-commonjs
This plugin transforms ES2015 modules to CommonJS
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-transform-function-bind
Compile function bind operator to ES5
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-transform-export-extensions
Compile export extensions to ES2015
Latest release 7.0.0-alpha.19 - Updated - 31K stars
babel-preset-es2017
Babel preset for all es2017 plugins.
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-preset-es2016
Babel preset for all es2016 plugins.
Latest release 7.0.0-beta.3 - Updated - 31K stars
babel-plugin-transform-react-jsx-source
Add a __source prop to all JSX Elements
Latest release 7.0.0-beta.3 - Updated - 31K stars

Recent Tags See all

v7.2.1 December 04, 2018
v7.2.0 December 03, 2018
v7.1.6 November 13, 2018
v7.1.5 November 06, 2018
v7.1.4 October 11, 2018
v7.1.3 October 11, 2018
v7.1.2 September 28, 2018
v7.1.1 September 28, 2018
v7.1.0 September 17, 2018
v7.0.1 September 11, 2018
v7.0.0 August 27, 2018
v7.0.0-rc.4 August 27, 2018
v7.0.0-rc.3 August 24, 2018
v7.0.0-rc.2 August 21, 2018
v7.0.0-rc.1 August 09, 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: 2018-12-12 19:47:17 UTC

Login to resync this repository