Big update!Introducing GitHub Bot Commands. Learn more
Socket
BlogLoveLog in
Book a demo

regenerator-runtime

Package Overview
Dependencies
0
Maintainers
1
Versions
27
Issues
File Explorer

Advanced tools

regenerator-runtime

Runtime for Regenerator-compiled generator and async functions.

    0.13.9nextlatest

Version published
Maintainers
1
Weekly downloads
38,450,120
decreased by-2.14%

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,850,516 weekly downloads. As such, regenerator-runtime popularity was classified as popular.

Is regenerator-runtime well maintained?

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

Last updated on 22 Jul 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc