Socket
Book a DemoInstallSign in
Socket
k

kangax

npm

Packages

Current Co-maintainers

Former Co-maintainers

46 packages

babel-helper-evaluate-path

path.evaluate wrapped in a try catch

babel-helper-flip-expressions

## Installation

babel-helper-mark-eval-scopes

Mark scopes for deopt which contain a direct eval call

babel-helper-to-multiple-sequence-expressions

## Installation

babel-plugin-minify-builtins

Minify Standard built-in Objects

babel-plugin-minify-constant-folding

Tries to evaluate expressions and inline the result.

babel-plugin-minify-dead-code-elimination

Inlines bindings when possible. Tries to evaluate expressions and prunes unreachable as a result.

babel-plugin-minify-flip-comparisons

**Note:** while this plugin doesn’t shorten the output in any way, it does optimize it for repetition-based compression algorithms such as gzip.

babel-plugin-minify-guarded-expressions

## Example

babel-plugin-minify-infinity

## Example

babel-plugin-minify-mangle-names

Context- and scope- aware variable renaming.

babel-plugin-minify-numeric-literals

Shortens numeric literals using scientific notation

babel-plugin-minify-replace

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"`.

babel-plugin-minify-simplify

> Simplifies code for minification by reducing statements into expressions and making expressions uniform where possible.

babel-plugin-minify-type-constructors

**Note:** Not recommended if full support for IE8 and lower is required. [Details](https://github.com/babel/minify/pull/45#discussion_r70181249)

babel-plugin-transform-async-generator-functions

Turn async generator functions into ES2015 generators

babel-plugin-transform-es2015-duplicate-keys

Compile objects with duplicate keys to valid strict ES5

babel-plugin-transform-flow-comments

Turn flow type annotations into comments

babel-plugin-transform-inline-consecutive-adds

This plugin inlines consecutive property assignments, array pushes, etc.

babel-plugin-transform-inline-environment-variables

Inline environment variables.

babel-plugin-transform-member-expression-literals

Turn valid member expression property literals into plain identifiers

babel-plugin-transform-merge-sibling-variables

Merge sibling variables into one.

babel-plugin-transform-minify-booleans

Turn boolean literals into !0 for true and !1 for false.

babel-plugin-transform-node-env-inline

Inline the `NODE_ENV` environment variable and evaluate it if possible

babel-plugin-transform-pipeline-operator

Transform pipeline operator into call expressions