# regenerator-runtimeStandalone runtime for[Regenerator](https://github.com/facebook/regenerator)-compiled generatorand `async` functions.To import the runtime as a module (recommended), either of the followingimport styles will work:```js// CommonJSconstregeneratorRuntime=require("regenerator-runtime");// ECMAScript 2015importregeneratorRuntimefrom"regenerator-runtime";```To ensure that `regeneratorRuntime` is defined globally, either of thefollowing styles will work:```js// CommonJSrequire("regenerator-runtime/runtime");// ECMAScript 2015import"regenerator-runtime/runtime.js";```To get the absolute file system path of `runtime.js`, evaluate thefollowing expression:```jsrequire("regenerator-runtime/path").path```