# regenerator-runtime-only

> Just the runtime part of regenerator

Latest version **0.8.38** (published 2015-09-15) · BSD license · 0 weekly downloads

## Install

```sh
npm install regenerator-runtime-only
pnpm add regenerator-runtime-only
yarn add regenerator-runtime-only
bun add regenerator-runtime-only
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.8.38 |
| Published | 2015-09-15 |
| First published | 2015-02-02 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | regenerator-runtime-only-bot, forbeslindesay |
| Keywords | generator, yield, coroutine, rewriting, transformation, syntax, codegen, rewriting, refactoring, transpiler, desugaring, ES6 |

## Links

- npm: https://www.npmjs.com/package/regenerator-runtime-only
- Repository: https://github.com/ForbesLindesay/regenerator-runtime-only
- npm.io page: https://npm.io/package/regenerator-runtime-only

## Dependencies (2)

- [promise](https://npm.io/package/promise.md) ^6.1.0
- [es6-symbol](https://npm.io/package/es6-symbol.md) ^2.0.1

## 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

- 0.8.38 (latest) — 2015-09-15
- 0.8.37 — 2015-09-15
- 0.8.36 — 2015-07-30
- 0.8.35 — 2015-07-30
- 0.8.34 — 2015-07-09
- 0.8.33 — 2015-07-09
- 0.8.32 — 2015-06-29
- 0.8.31 — 2015-06-23
- 0.8.30 — 2015-06-15
- 0.8.29 — 2015-06-07
- 0.8.28 — 2015-06-05
- 0.8.27 — 2015-05-26
- 0.8.26 — 2015-05-16
- 0.8.25 — 2015-05-14
- 0.8.24 — 2015-05-13
- … 18 more at https://npm.io/package/regenerator-runtime-only/versions

## README

# regenerator-runtime-only

Just the runtime part of regenerator.  If your publishing a module to npm that relies on `regenerator`, This allows you to include the runtime without also making people download the entire regenerator library (complete with AST transformers and parsers etc.).

This module is automatically re-built and published by a bot that polls npm every 10 minutes.  You can check the status of the bot by navigating to [regenerator-runtime-bot.jepso.com](https://regenerator-runtime-bot.jepso.com)

## Installation

    npm install regenerator-runtime-only

## Usage


```js
var regeneratorRuntime = require('regenerator-runtime-only');

function* foo() {
  yield 10;
  yield 32;
}
var gen = foo();
assert(gen.next() + gen.next() === 42);
```

Then run `regenerator src.js > index.js` and the resulting output will only need to load `regnerator-runtime-only`.  If ES6 features are unavailable, it will also load [es6-symbol](https://www.npmjs.com/package/es6-symbol) and [Promise](https://www.npmjs.org/package/promise) but it will not polyfill either feature on the glo al, and will prefer existing polyfills over these libraries.

## License

  MIT

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