josdejong/workerpool
Offload tasks to a pool of workers on node.js and in the browser observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4506
- days_rel: n/a
- days_push: 23
- n_releases_24m: 0
Adoption not part of the score
2308 stars · 164 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
workerpool is a small JavaScript library that implements the thread pool pattern, letting you offload CPU-heavy tasks to a pool of workers on Node.js and in the browser. It provides a promise-based proxy API with task queuing, cancellation, timeouts, and crashed-worker handling.
Use cases
- offload cpu-intensive computations to web workers
- run heavy tasks without blocking the node.js event loop
- manage a pool of worker_threads or child processes
- cancel or timeout long-running background tasks
- parallelize data processing in the browser without freezing the ui
When to choose
- you need CPU-bound work offloaded from the main thread in Node.js or the browser
- you want one isomorphic API covering web workers, worker_threads, and child processes
- you need task queuing, cancellation, timeouts, and crash recovery in a tiny (~9 kB) dependency
When to avoid
- your workload is I/O-bound rather than CPU-bound
- you need GPU or native multithreading with shared memory
- you need a general-purpose job scheduler across machines rather than in-process workers
Facets
library · maturity stable
concurrency developer-tools developer-tools web-development cross-platform browser worker-pool web-workers worker-threads thread-pool promise-based isomorphic task-queue nodejs javascript
2 sources
- readme: https://github.com/josdejong/workerpool · fetched 2026-08-28 · 9b2510360fcc
- registry_npm: https://registry.npmjs.org/workerpool · fetched 2026-08-29 · 9e140ddedd57
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| josdejong/workerpool | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="josdejong/workerpool")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem