regenerator-runtime
npmv0.14.1Runtime for Regenerator-compiled generator and async functions.
Adopt with care
regenerator-runtime is usable, with caveats. Last published 999 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- DMaintenance: grade D, Poor — a real concern.
Last published 999 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 27 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding regenerator-runtime to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the regenerator-runtime README.
// CommonJS
const regeneratorRuntime = require("regenerator-runtime");
// ECMAScript 2015
import regeneratorRuntime from "regenerator-runtime";regenerator-runtime vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| regenerator-runtimethis page | 0 | 4 | MIT | 2 years ago |
| co | 31.2M | 4 | MIT | 1 day ago |
| quansync | 0 | 1 | MIT | 1 day ago |
| await-lock | 0 | 1 | MIT | 1 day ago |
| p-limit | 293.1M | 5 | MIT | 1 day ago |
| p-locate | 216.9M | 1 | MIT | 1 day ago |
Used by
Popular packages that depend on regenerator-runtime.
An AST-based pattern checker for JavaScript.
Seamless REST/GraphQL API mocking library for browser and Node.js.
A framework for building native apps using React
Jest preset for React Native apps
Relationship graph
Dependencies (left) and dependents (right) of regenerator-runtime.
Frequently installed together
Runtime typescript and ESM support for Node.js
The semantic version parser used by npm.
React is a JavaScript library for building user interfaces.
Prettier is an opinionated code formatter
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
the most correct and second fastest glob implementation in JavaScript
Polyfills for React Native.
TypeScript definitions for node
Constants and utilities about visitor keys to traverse AST.
Escape RegExp special characters
TypeScript definitions for estree
An AST-based pattern checker for JavaScript.
Release history
No releases in the last two years, typically about 114 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.14.1latest | 2 years ago | 27 KB | MIT |
| 0.14.0 | 3 years ago | 27 KB | MIT |
| 0.13.11 | 3 years ago | 27 KB | MIT |
| 0.13.10 | 3 years ago | 27 KB | MIT |
| 0.13.9 | 5 years ago | 27 KB | MIT |
| 0.13.8 | 5 years ago | 27 KB | MIT |
| 0.13.7 | 6 years ago | 27 KB | MIT |
| 0.13.6 | 6 years ago | 26 KB | MIT |
| 0.13.5 | 6 years ago | 26 KB | MIT |
| 0.13.4 | 6 years ago | 26 KB | MIT |
| 0.13.3 | 7 years ago | 26 KB | MIT |
| 0.13.2 | 7 years ago | 25 KB | MIT |
| 0.13.1 | 7 years ago | 24 KB | MIT |
| 0.13.0 | 7 years ago | 24 KB | MIT |
| 0.12.1 | 8 years ago | 26 KB | MIT |
Overview
regenerator-runtime is an npm package that runtime for Regenerator-compiled generator and async functions. It has 4 known dependents in the graph. The latest version is 0.14.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need runtime for Regenerator-compiled generator and async functions and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Zero runtime dependencies — minimal footprint.
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use regenerator-runtime?
regenerator-runtime is usable, with caveats. Last published 999 days ago.
How do I install regenerator-runtime?
Run `npm install regenerator-runtime` to add regenerator-runtime to your npm project.
What license is regenerator-runtime released under?
regenerator-runtime is distributed under the MIT license.
How popular is regenerator-runtime?
npm does not publish download counts. Within PackageGraph's crawl, 4 known packages depend on regenerator-runtime.
Is regenerator-runtime still maintained?
The most recent release of regenerator-runtime (v0.14.1) was published 2 years ago.
Does regenerator-runtime run install scripts?
No. regenerator-runtime does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.