Ross ROSS = Recommend OSS · open-source software intelligence for agents

developit/greenlet

🦎 Move an async function into its own thread. observed · 2026-08-28

github.com/developit/greenlet · homepage · JavaScript observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3142
  • days_rel: n/a
  • days_push: 2011
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4688 stars · 97 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Greenlet is a tiny JavaScript library that takes an async function and returns a version of it that runs in its own Web Worker thread. It is a simplified single-function variant of workerize, with performance comparable to direct Worker usage.

Use cases

  • run a cpu-heavy async function off the main thread
  • move an async function into a web worker without writing worker boilerplate
  • fetch network resources in a background thread and return only needed data
  • offload expensive computation from the browser ui thread
  • use transferable objects efficiently between threads

When to choose

  • you need a single self-contained function to run off the main thread
  • you want minimal bundle size and zero worker scaffolding
  • your function has small inputs and outputs and doesn't need shared scope

When to avoid

  • you need multiple functions or shared state in a worker (use workerize)
  • your function depends on its surrounding closure scope
  • you need active maintenance or guaranteed long-term support
  • you need Node.js support without polyfilling Web Workers

Facets

library · maturity maintenance

concurrency developer-tools web-development developer-tools performance browser cross-platform web-workers async threads off-main-thread micro-library nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
developit/greenletmain23

For agents

markdown · JSON · MCP: product_card(name="developit/greenlet")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem