W4G1/multithreading
The missing standard library for multithreading in JavaScript (Works in the browser, Node.js, Deno, Bun) observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 74
- Release rhythm 35
- Longevity 70
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: 992
- days_rel: n/a
- days_push: 160
- n_releases_24m: 0
Adoption not part of the score
1609 stars · 26 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library providing Rust-inspired concurrency primitives for JavaScript, including a managed worker pool, Mutexes, Semaphores, and shared memory via SharedArrayBuffer. It abstracts Web Workers and serialization so multithreaded code feels like standard async JavaScript across browser, Node.js, Deno, and Bun.
Use cases
- run cpu-bound tasks in parallel in javascript
- use web workers without boilerplate
- share state between threads safely in node
- create a thread pool in the browser
- pass data to workers with move semantics
- use mutexes and semaphores in javascript
When to choose
- you need true parallelism for CPU-heavy work in JS across browser and server runtimes
- you want safe shared-memory concurrency primitives instead of raw Worker messaging
- you want a managed worker pool sized to hardware concurrency
When to avoid
- your workload is I/O-bound and async/await is sufficient
- you need mature, battle-tested production threading with a large ecosystem
- you target environments without SharedArrayBuffer support
Facets
library · maturity active
concurrency developer-tools developer-tools web-development cross-platform browser bun cross-platform multithreading web-workers worker-pool shared-array-buffer mutex parallelism typescript rust-inspired nodejs deno
2 sources
- readme: https://github.com/W4G1/multithreading · fetched 2026-08-28 · 09e5a0689bc0
- registry_npm: https://registry.npmjs.org/multithreading · fetched 2026-08-29 · 961b27df528b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| W4G1/multithreading | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="W4G1/multithreading")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem