Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

regenerator-runtime

Package Overview
Dependencies
0
Maintainers
1
Versions
29
Issues
File Explorer

Advanced tools

regenerator-runtime

Runtime for Regenerator-compiled generator and async functions.

    0.13.11nextlatest
    Github

Version published
Maintainers
1
Weekly downloads
44,543,257
increased by2.33%

Weekly downloads

Readme

Source

regenerator-runtime

Standalone runtime for Regenerator-compiled generator and async functions.

To import the runtime as a module (recommended), either of the following import styles will work:

// 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:

// CommonJS require("regenerator-runtime/runtime"); // ECMAScript 2015 import "regenerator-runtime/runtime.js";

To get the absolute file system path of runtime.js, evaluate the following expression:

require("regenerator-runtime/path").path

Keywords

FAQs

What is regenerator-runtime?

Runtime for Regenerator-compiled generator and async functions.

Is regenerator-runtime popular?

The npm package regenerator-runtime receives a total of 36,427,139 weekly downloads. As such, regenerator-runtime popularity was classified as popular.

Is regenerator-runtime well maintained?

We found that regenerator-runtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 14 Nov 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc