npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zklogic/regenerator-runtime

v0.14.3

Published

Runtime for Regenerator-compiled generator and async functions.

Readme

@zklogic/regenerator-runtime

Fork notice: @zklogic/regenerator-runtime is a maintained, drop-in republish of the regenerator-runtime package (MIT, © Facebook, Inc.), kept under the @zklogic scope because the original package is no longer maintained. The runtime code is unchanged. To use it for every dependent in your tree, alias it in package.json:

{ "overrides": { "regenerator-runtime": "npm:@zklogic/regenerator-runtime@^0.14.3" } }

What changed from regenerator-runtime, and why

Why this exists. regenerator-runtime is deprecated on npm and no longer maintained, so security scanners (for example Sonatype Lifecycle) flag it as end-of-life, and projects that still depend on it, directly or through packages such as kochava or canvg, cannot upgrade to a maintained release. This fork is a maintained copy that you can alias in place of the original without touching your dependents.

What is different

  • Package name: published as @zklogic/regenerator-runtime. This is the only change that affects consumers, and it is why the alias above is needed.
  • Runtime code: runtime.js and path.js are byte-for-byte the code of upstream regenerator-runtime, so behaviour is identical, including defining the global regeneratorRuntime.
  • Package metadata: package.json has the new name, author, repository, bugs URL and a forkedFrom field that credits the original authors.
  • Tests: added test/smoke.js (npm test), which checks the runtime API, a generator driven through mark/wrap, path.js and the global. It is not published in the package.
  • Publishing: .github/workflows/publish.yml runs the tests and publishes to npm when a v* tag is pushed.
  • Staying current: scripts/sync-upstream.sh merges new upstream commits into the fork and re-applies the fork metadata, so the fork keeps tracking Facebook's repository.

Everything else, including the license (MIT, © Facebook, Inc.), is unchanged. Bugs in the runtime itself belong upstream; bugs in this packaging belong in the fork's issues.

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("@zklogic/regenerator-runtime");

// ECMAScript 2015
import regeneratorRuntime from "@zklogic/regenerator-runtime";

To ensure that regeneratorRuntime is defined globally, either of the following styles will work:

// CommonJS
require("@zklogic/regenerator-runtime/runtime");

// ECMAScript 2015
import "@zklogic/regenerator-runtime/runtime.js";

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

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