facebook/regenerator
Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4715
- days_rel: n/a
- days_push: 916
- n_releases_24m: 0
Adoption not part of the score
3824 stars · 1130 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Regenerator is a source transformer that compiles ECMAScript 2015 generator functions (yield) and async iteration syntax down to efficient ES5 JavaScript. It is available as a CLI, a programmatic API, and an AST transformation, with a small runtime library.
Use cases
- transpile ES6 generator functions to ES5 for older browsers
- use yield-based async code in environments without native generator support
- transform generator syntax programmatically on a JavaScript AST
- downlevel async iteration and for-await loops to ES5
- run generator-based code in legacy Node.js versions
When to choose
- you must support ES5-only environments (old browsers, legacy Node) while writing generator/async-iteration syntax
- you need a standalone, focused generator-to-ES5 transform rather than a full transpiler
- you want to manipulate or transform generator syntax at the AST level
When to avoid
- your targets already support ES2015 generators natively (modern browsers and Node)
- you need broad ES6+ transpilation - use Babel, which embeds regenerator for this purpose
- the project is in maintenance mode with minimal new development
Facets
library · maturity maintenance
compiler parser developer-tools web-development compilers programming-languages developer-tools cross-platform transpiler es6 generators yield source-transformation es5 desugaring babel nodejs javascript
3 sources
- readme: https://github.com/facebook/regenerator · fetched 2026-08-28 · 3156dba63038
- homepage: http://facebook.github.io/regenerator/ · fetched 2026-08-29 · 39e33f0fd81a
- registry_npm: https://registry.npmjs.org/regenerator · fetched 2026-08-29 · e865e17a3c26
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebook/regenerator | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="facebook/regenerator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem