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

tj/co

The ultimate generator based flow-control goodness for nodejs (supports thunks, promises, etc) observed · 2026-08-28

github.com/tj/co · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 4836
  • days_rel: n/a
  • days_push: 2087
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

11841 stars · 778 forks observed · 2026-08-28

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

co is a JavaScript library for Node.js and the browser that provides generator-based async control flow, letting you write non-blocking code using yield with promises, thunks, arrays, objects, and generators. It was a precursor to async/await and returns promises from co() calls.

Use cases

  • write async nodejs code with generators instead of callbacks
  • run multiple promises in parallel with yield on arrays or objects
  • wrap generator functions into promise-returning functions
  • handle async errors with try/catch in generator code
  • support thunks and promises in a unified async flow

When to choose

  • maintaining legacy Node.js codebases that predate async/await
  • running on very old Node versions or browsers without async/await support
  • you prefer generator-based coroutine style over promise chains

When to avoid

  • writing new code on modern Node.js or browsers with native async/await
  • you need actively developed async tooling
  • your environment lacks generator support and you don't want transpilation

Facets

library · maturity maintenance

concurrency developer-tools developer-tools backend browser async-control-flow generators coroutines promises thunks legacy-async algorithms nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
tj/comain32

For agents

markdown · JSON · MCP: product_card(name="tj/co")

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