Babel
Organization@babel
The community maintained compiler for next generation JavaScript, today.
282
Published Tools
5,290,010
Total Stars
241,257,679
Weekly Downloads
1,120
GitHub Followers
63
Public Repos
100/100
Avg Security
Published Tools
200 Skillsacross 2 categoriesnicolo-ribaudo
Allow parsing of optional properties
Compile ES2015 default and rest parameters to ES5
nicolo-ribaudo
Allow parsing of the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
GitHub Actions
Compile class public and private fields, private methods and decorators to ES6
Babel plugin to ensure function declarations at the block level are block scoped
nicolo-ribaudo
Allow parsing of async generator functions
nicolo-ribaudo
Allow parsing of the nullish-coalescing operator
nicolo-ribaudo
Allow parsing of optional catch bindings
nicolo-ribaudo
Allow parsing of export namespace from
This plugin transforms ES2015 modules to CommonJS
nicolo-ribaudo
Allow parsing of object rest/spread
This plugin places a 'use strict'; directive at the top of all files to enable strict mode
loganfsmyth
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Compile objects with duplicate keys to valid strict ES5
Compile trailing function commas to ES5
loganfsmyth
Transform test runner for babel-helper-fixtures module
Helper function to get function arity
Helper function to change the property 'name' of every function
Helper function to remap async functions to generators
Helper function to optimise call expression
hzoo
Generate errors that contain a code frame that point to source locations.
Helper function to build binary assignment operator visitors
Helper function to explode an assignable expression
hzoo
The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes
Explode async and generator functions into a state machine.
Transform pipeline operator into call expressions
Allow parsing of the pipeline operator
hzoo
Babel Types is a Lodash-esque utility library for AST nodes
Transform pipeline operator into call expressions
Babel plugin to fix buggy JScript named function expressions
loganfsmyth
Compile ES2015 destructuring to ES5
Apply ES2015 function.name semantics to all functions
Allow parsing of the exponentiation operator
Compile class and object decorators to ES5
Compile ES2015 sticky regex to an ES5 RegExp constructor
Turn async generator functions into ES2015 generators
This plugin transforms static class properties as well as properties declared with the property initializer syntax
This plugin allows Babel to transform class constructors (deprecated)
Compile ES2015 template literals to ES5
Compile ES2015 computed properties to ES5
Allow parsing of class constructor calls (deprecated)
loganfsmyth
This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
...moreThis plugin transforms ES2015 modules to SystemJS
Compile ES2015 block scoping (const and let) to ES5
Turn async functions into ES2015 generators
Compile ES2015 arrow functions to ES5
Compile ES2015 unicode string and number literals to ES5
This plugin transforms static class properties as well as properties declared with the property initializer syntax
Throw a compile-time error on references to undeclared variables
Add a __source prop to all JSX Elements
Compile object rest and spread to ES5
Add displayName to React.createClass calls
Compile exponentiation operator to ES5
Compile export extensions to ES2015
Ensure that reserved words are quoted in object property keys
Strip flow type annotations from your output code.
Compile ES2015 shorthand properties to ES5
Compile ES2015 object super to ES5
This plugin transforms ES2015 modules to AMD
Compile ES2015 Unicode regex to ES5
This plugin transforms ES2015 modules to UMD
This plugin contains helper functions that’ll be placed at the top of the generated code
minh.nguyen
Compile ES2015 destructuring to ES5
Treat React JSX elements as value types and hoist them to the highest scope
Replace Object.assign with an inline helper
Turn JSX elements into exploded React objects
Compile ES5 property mutator shorthand syntax to Object.defineProperty
Ensure that reserved words are quoted in property accesses
Babel helper for ensuring that access to a given value is performed through simple accesses
nicolo-ribaudo
Merge sibling variables into one.
Convert === and !== to == and != if their types are inferred to be the same.
Replace references to `undefined` with `void 0`
This removes rvals that are equivalent to undefined wherever possible
Remove all console.* calls.
This changes RegExp constructors into literals if the RegExp arguments are strings.
Turn valid member expression property literals into plain identifiers
Turn boolean literals into !0 for true and !1 for false.
nicolo-ribaudo
Inline environment variables.
**Note:** Not recommended if full support for IE8 and lower is required. [Details](https://github.com/babel/minify/pull/45#discussion_r70181249)
...moreInline the `NODE_ENV` environment variable and evaluate it if possible
This plugin inlines consecutive property assignments, array pushes, etc.
> Simplifies code for minification by reducing statements into expressions and making expressions uniform where possible.
...morenicolo-ribaudo
Context- and scope- aware variable renaming.
Shortens numeric literals using scientific notation
Turn valid property key literals to plain identifiers
boopathi
Configurable "search and replace" plugin. Replaces matching nodes in the tree with a given replacement node. For example you can replace `process.NODE_ENV` with `"production"`.
...more**Note:** while this plugin doesn’t shorten the output in any way, it does optimize it for repetition-based compression algorithms such as gzip.
...moreboopathi
Mark scopes for deopt which contain a direct eval call
nicolo-ribaudo
✂️ An ES6+ aware minifier based on the Babel toolchain (beta)
Tries to evaluate expressions and inline the result.
nicolo-ribaudo
Inlines bindings when possible. Tries to evaluate expressions and prunes unreachable as a result.
kaicataldo
an eslint rule plugin companion to babel-eslint
nicolo-ribaudo
A Babel plugin to inject imports to core-js@2 polyfills
nicolo-ribaudo
A Babel plugin to inject imports to regenerator-runtime
GitHub Actions
Transform class static blocks
nicolo-ribaudo
A Babel plugin to inject imports to core-js@3 polyfills
nicolo-ribaudo
Allow parsing of class properties
GitHub Actions
Escape U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
GitHub Actions
Compile regular expressions' unicodeSets (v) flag.
GitHub Actions
Add a __source prop to all JSX Elements
GitHub Actions
Compile ES2015 computed properties to ES5
GitHub Actions
Add displayName to React.createClass calls
Transform optional chaining operators to workaround https://crbug.com/v8/11558
GitHub Actions
Compile ES2015 shorthand properties to ES5
Transform static class fields assignments that are affected by https://crbug.com/v8/12421
Compile regular expressions using duplicate named groups to index-based groups.
GitHub Actions
Turn async functions into ES2015 generators
GitHub Actions
This plugin transforms checks for a private property in an object
GitHub Actions
Turn async generator functions into ES2015 generators
GitHub Actions
Compile inline regular expression modifiers
Rename destructuring parameter to workaround https://bugs.webkit.org/show_bug.cgi?id=220517
GitHub Actions
Compile ES2015 Unicode regex to ES5
GitHub Actions
Wraps classes defined in computed keys of other classes affected by https://bugzilla.mozilla.org/show_bug.cgi?id=1887677
GitHub Actions
Mark top-level React method calls as pure for tree shaking
GitHub Actions
Add a __self prop to all JSX Elements
GitHub Actions
Compile ES2015 sticky regex to an ES5 RegExp constructor
GitHub Actions
Compile `using` and `await using` declarations to ES2015
Wrap class field initializers with IIFE to workaround https://webkit.org/b/236843
GitHub Actions
Compile export namespace to ES2015
nicolo-ribaudo
Parse regular expressions' unicodeSets (v) flag.
GitHub Actions
Strip flow type annotations from your output code.
GitHub Actions
This plugin transforms ES2015 modules to AMD
GitHub Actions
This plugin transforms ES2015 modules to CommonJS
GitHub Actions
Compile ES2015 unicode string and number literals to ES5
GitHub Actions
Compile class and object decorators to ES5
Allow parsing of Decimal, Binary, Hex and Octal literals that contain a Numeric Literal Separator
GitHub Actions
Treat React JSX elements as value types and hoist them to the highest scope
Allow parsing of the logical assignment operators
GitHub Actions
Compile ES2015 block scoping (const and let) to ES5
GitHub Actions
Workaround a Safari bug where rest destructuring with an array literal on the rhs can yield incorrect results
GitHub Actions
Compile export default to ES2015
GitHub Actions
Babel plugin to ensure function declarations at the block level are block scoped
GitHub Actions
Allow parsing of export default from
GitHub Actions
Compile ESNext Regular Expressions to ES5