{"adoption": {"forks": 173, "observed_at": "2026-08-28T04:08:08.922791+00:00", "stars": 3531}, "canonical_url": "https://ross.abutalabs.com/products/threadsjs", "card": {"archived": false, "artifact_type": "library", "description": "🧵 Make web workers & worker threads as simple as a function call.", "domain": ["developer-tools", "web-development", "cross-platform"], "enriched": true, "function": ["concurrency", "developer-tools"], "health_score": 20, "homepage": "https://threads.js.org/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["andywer/threads.js"], "name": "andywer/threads.js", "platform": ["browser"], "pushed_at": "2024-06-19T16:53:00+00:00", "repo": "andywer/threads.js", "stars": 3531, "tags": ["worker-threads", "web-workers", "thread-pool", "multithreading", "isomorphic", "nodejs", "electron", "typescript", "javascript"], "topics": ["javascript", "nodejs", "thread-pool", "web-worker", "isomorphic-javascript", "multithreading", "worker-threads", "worker-pool", "typescript"], "urls": [], "use_cases": ["offload CPU-intensive calculations to worker threads in node.js", "run the same worker code in browsers and node.js", "manage bulk task execution with a thread pool", "keep the UI responsive by moving business logic off the main thread", "use web workers with webpack bundling", "call worker functions as if they were local async functions"], "what_it_is": "threads.js is a TypeScript library that provides a uniform API for spawning and communicating with workers, using web workers in browsers and worker_threads in Node.js. It supports async functions, observables, and thread pools so CPU-intensive tasks can be offloaded with a simple function-call style API.", "when_to_avoid": ["your workload is I/O-bound rather than CPU-bound (async I/O suffices)", "you need fine-grained control over shared memory or SharedArrayBuffer", "you only target modern node.js and prefer the native worker_threads API directly"], "when_to_choose": ["you need multithreading that works identically in node.js and the browser", "you want a simple, typed API over raw worker_threads or web workers", "you need thread pools for dispatching many parallel tasks", "your build uses webpack and you want workers bundled transparently"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/threadsjs", "repo": "andywer/threads.js", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.922791+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:35:06.115316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "601031c32f9a032a50fe0b8d483179e5640a0fb2a79b08c7776eccc662659cda", "fetched_at": "2026-08-28T04:08:08.922791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/andywer/threads.js"}, {"content_hash": "121240efb89d703de376021d471764f6e65896084fa5f3e1dae008719fb7bf4b", "fetched_at": "2026-08-29T09:29:15.408788+00:00", "kind": "homepage", "missing": false, "url": "https://threads.js.org/"}, {"content_hash": "ec5d1ca0c39426c4e3926160973665fbe97f4d0ac0738455cc4ce2e932495e0f", "fetched_at": "2026-08-29T09:29:15.418155+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/getting-started"}, {"content_hash": "8477f1969720b994a62f4fcf48c17881300d419b22de1a90cce092eba6909fe9", "fetched_at": "2026-08-29T09:29:15.420753+00:00", "kind": "site_page", "missing": false, "url": "https://threads.js.org/usage"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4026, "days_push": 805, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}