* outline of plugin to remove unused catch binding, test not passing * plugin to remove unused catch binding * Edit README.md and package.json * tests for try catch finally * Add test to handle case when binding is referenced and given new TypeError (not passing) * Fix visitor to not remove catch clause param when binding being assigned a new value * Improve naming of tests and explanations * add test case for catch param not present and fix test for duplicate variable declaration * Remove binding.constantViolations filter in visitor as superfluous * Remove duplicate check that catch clause param present * Alter visitor so returns out when catch binding is not an Identifier * Created failing tests for ObjectPattern params and rewrote visitor so now passing Took out the pass in visitor when param not an Identifier, wrote case to handle when param isObjectPattern, and wrote failing tests for when param isArrayPattern * Handle case when param isArrayPattern, tests passing * Update package.json to v7.0.0-alpha.20 * Revert visitor to only consider transform if param is Identifier
The compiler for writing next generation JavaScript.
Babel is a community-driven 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 and follow us at @babeljs.
FAQ
Docs?
Check out our website: babeljs.io
Looking for support?
For questions and support please visit our discussion forum, sign up for our Slack community, or StackOverflow.
Want to report a bug or request a feature?
Read through our CONTRIBUTING.md and fill out the issue template at babel/issues.
Want to report an issue with babeljs.io (the website)?
For documentation and website issues please visit the babel/website repo.
Want to contribute to Babel?
Check out our CONTRIBUTING.md. If you have already joined Slack, join our #development channel!
You can also start by checking out the issues with the help-wanted label.
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.
Team
Core members
| Babel | Daniel Tschinder | Logan Smyth | Henry Zhu |
| :octocat: @babel | @danez | @loganfsmyth | @hzoo |
| 🐦 @babeljs | @TschinderDaniel | @loganfsmyth | @left_pad |
Members
| Andrew Levine | Boopathi Rajaa | Brian Ng | Dan Harper | Diogo Franco | Aaron Ang | Artem Yavorsky |
| @drewml | @boopathi | @existentialism | @danharper | @kovensky | @aaronang | @yavorsky |
| @drewml | @heisenbugger | @existentialism | @DanHarper7 | @kovnsk | @_aaronang | @yavorsky_ |
| Juriy Zaytsev | Kai Cataldo | Moti Zilberman | Sven Sauleau | Samuel Reed | Sergey Rubanov |
| @kangax | @kaicataldo | @motiz88 | @xtuc | @STRML | @chicoxyzzy |
| @kangax | @kai_cataldo | @motiz88 | @svensauleau | @STRML_ | @chicoxyzzy |
Non-Human Members
![]() |
|---|
| Babel Bot |
| @babel-bot |
| @babeljs |
Inactive members
| Amjad Masad | James Kyle | Jesse McCarthy | Sebastian McKenzie |
| @amasad | @thejameskyle | @jmm | @sebmck |
| @amasad | @thejameskyle | @mccjm | @kittens |
Backers
Support us with a monthly donation and help us continue our activities. [Become a backer]
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]
