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 47.2 MB
Stars 35,836
Forks 4,111
Watchers 877
Open issues 766
Dependencies 2,333
Contributors 682
Tags 704
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-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 - 35.8K stars
babylon
A JavaScript parser
Latest release 7.0.0-beta.47 - Updated - 35.8K stars
babel-core
Babel compiler core.
Latest release 7.0.0-bridge.0 - Updated - 35.8K stars
babel-runtime
babel selfContained runtime
Latest release 7.0.0-beta.3 - Updated - 35.8K stars
babel
Turn ES6 code into readable vanilla ES5 with source maps
Latest release 6.23.0 - Updated - 35.8K stars
@o/plugin-transform-react-constant-elements
Treat React JSX elements as value types and hoist them to the highest scope
Latest release 2.7.0 - Updated - 35.8K stars
@babel/runtime-corejs2
babel's modular runtime helpers with core-js@2 polyfilling
Latest release 7.8.4 - Updated - 35.8K stars
@babel/plugin-syntax-bigint
Allow parsing of BigInt literals
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-proposal-json-strings
Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
Latest release 7.8.3 - Updated - 35.8K stars
@babel/parser
A JavaScript parser
Latest release 7.8.4 - Updated - 35.8K stars
@babel/plugin-proposal-logical-assignment-operators
Transforms logical assignment operators into short-circuited assignments
Latest release 7.8.3 - Updated - 35.8K stars
@babel/helper-plugin-utils
General utilities for plugins to use
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-syntax-import-meta
Allow parsing of import.meta
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-syntax-export-default-from
Allow parsing of export default from
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-transform-reserved-words
Ensure that no reserved words are used.
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-proposal-function-bind
Compile function bind operator to ES5
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-proposal-nullish-coalescing-operator
Remove nullish coalescing operator
Latest release 7.8.3 - Updated - 35.8K stars
@babel/preset-stage-0
Babel preset for stage 0 plugins
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-transform-object-assign
Replace Object.assign with an inline helper
Latest release 7.8.3 - Updated - 35.8K stars
@babel/plugin-proposal-function-sent
Compile the function.sent meta property to valid ES2015 code
Latest release 7.8.3 - Updated - 35.8K stars

Recent Tags See all

v7.8.5 January 31, 2020
v7.8.4 January 30, 2020
v7.8.3 January 13, 2020
v7.8.3 January 13, 2020
v7.8.2 January 12, 2020
v7.8.1 January 12, 2020
v7.8.0 January 12, 2020
v7.7.7 December 19, 2019
v7.7.6 December 07, 2019
v7.7.5 December 06, 2019
babel-eslint-v11.0.0-beta.1 November 23, 2019
v7.7.4 November 22, 2019
v7.6.5 November 09, 2019
v7.7.3 November 08, 2019
v7.7.2 November 06, 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
nicolo-ribaudo/babel
tropical_fish Babel is a compiler for writing next generation JavaScript.
JavaScript - MIT - Last pushed - 2 stars - 1 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

Something wrong with this page? Make a suggestion

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

Login to resync this repository