Sha256: 1b260ca8f804da6ab2f94f8ccd5044de079c612875739a01d71733c3dbf3c616

Contents?: true

Size: 758 Bytes

Versions: 50

Compression:

Stored size: 758 Bytes

Contents

# regenerator-runtime

Standalone runtime for
[Regenerator](https://github.com/facebook/regenerator)-compiled generator
and `async` functions.

To import the runtime as a module (recommended), either of the following
import styles will work:
```js
// CommonJS
const regeneratorRuntime = require("regenerator-runtime");

// ECMAScript 2015
import regeneratorRuntime from "regenerator-runtime";
```

To ensure that `regeneratorRuntime` is defined globally, either of the
following styles will work:
```js
// CommonJS
require("regenerator-runtime/runtime");

// ECMAScript 2015
import "regenerator-runtime/runtime";
```

To get the absolute file system path of `runtime.js`, evaluate the
following expression:
```js
require("regenerator-runtime/path").path
```

Version data entries

50 entries across 42 versions & 14 rubygems

Version Path
lux_assets-0.2.2 ./node_modules/babel-runtime/node_modules/regenerator-runtime/README.md
lux_assets-0.2.1 ./node_modules/babel-runtime/node_modules/regenerator-runtime/README.md
lux_assets-0.2.1 ./node_modules/regenerator-runtime/README.md
locomotivecms-3.4.0 app/javascript/node_modules/regenerator-runtime/README.md
cortex-0.1.3 spec/dummy/node_modules/babel-runtime/node_modules/regenerator-runtime/README.md
cortex-0.1.3 spec/dummy/node_modules/regenerator-runtime/README.md
condenser-0.0.4 lib/condenser/processors/node_modules/regenerator-runtime/README.md
dragonfly_puppeteer-0.1.0 node_modules/regenerator-runtime/README.md
affiliator-0.2.1 node_modules/regenerator-runtime/README.md
lanes-0.8.0 node_modules/regenerator-runtime/README.md