# babel-plugin-external-helpers-insert-require

> insert require statement for external helpers

Latest version **1.0.2** (published 2016-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-external-helpers-insert-require
pnpm add babel-plugin-external-helpers-insert-require
yarn add babel-plugin-external-helpers-insert-require
bun add babel-plugin-external-helpers-insert-require
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-09-01 |
| First published | 2016-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | leon |
| Maintainers | ludafa |
| Keywords | eternal helpers, require, statement, insert |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-external-helpers-insert-require
- Repository: https://github.com/jinzhubaofu/babel-plugin-external-helpers-insert-require
- Homepage: https://github.com/jinzhubaofu/babel-plugin-external-helpers-insert-require#readme
- Issues: https://github.com/jinzhubaofu/babel-plugin-external-helpers-insert-require/issues
- npm.io page: https://npm.io/package/babel-plugin-external-helpers-insert-require

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-09-01
- 1.0.1 — 2016-09-01
- 1.0.0 — 2016-08-30

## README

# babel-plugin-external-helpers-insert-require

insert `require` statement in your file if externalHelpers used.

So you can remove babel-runtime from dependences if no either core-js nor regenerator used! Useful for a build a library.

## NOTICE

`commonjs` / `amd` / `umd` are supported.

`systemjs` is not supported.

## setup

add this plugin after `external-helpers` in your `.babelrc` file:

```json
{
    "presets": [
        [
            "es2015",
            {
                "loose": true,
                "modules": "amd"
            }
        ],
        "react"
    ],
    "plugins": [
        "transform-object-rest-spread",
        "external-helpers",
        "external-helpers-insert-require"
    ]
}
```

---
_Source: https://npm.io/package/babel-plugin-external-helpers-insert-require · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
