# babel-plugin-runtime

> Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals

Latest version **1.0.7** (published 2015-06-20) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install babel-plugin-runtime
pnpm add babel-plugin-runtime
yarn add babel-plugin-runtime
bun add babel-plugin-runtime
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2015-06-20 |
| First published | 2015-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sebmck |
| Keywords | babel-plugin |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-runtime
- Repository: https://github.com/babel-plugins/babel-plugin-runtime
- Homepage: https://github.com/babel-plugins/babel-plugin-runtime#readme
- Issues: https://github.com/babel-plugins/babel-plugin-runtime/issues
- npm.io page: https://npm.io/package/babel-plugin-runtime

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2015-06-20
- 1.0.6 — 2015-06-20
- 1.0.5 — 2015-06-15
- 1.0.4 — 2015-06-15
- 1.0.3 — 2015-06-15
- 1.0.2 — 2015-06-15
- 1.0.1 — 2015-06-15

## README

# babel-plugin-runtime

Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals

## Installation

```sh
$ npm install babel-plugin-runtime
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["runtime"]
}
```

### Via CLI

```sh
$ babel --plugins runtime script.js
```

### Via Node API

```javascript
require("babel-core").transform("code", {
  plugins: ["runtime"]
});
```

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