# tinylibs/tinypool

🧵 A minimal and tiny Node.js Worker Thread Pool implementation (38KB)

Repository: https://github.com/tinylibs/tinypool
Canonical: https://ross.abutalabs.com/products/tinypool
Homepage: https://npmjs.com/package/tinypool
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: fast, worker-threads, workers, tiny, minimal, pooling, nodejs, performance, tinylibs, hacktoberfest
Last push: 2026-08-23T15:01:37+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 75, longevity 100
- inputs: {"age_days": 1722, "days_push": 10, "days_rel": 10, "gap_med": 99.5, "n_releases_24m": 7}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1586, forks 48 (observed 2026-08-28T04:05:07.771980+00:00)

## What it is
Tinypool is a minimal, dependency-free Node.js worker thread pool library, a slimmed-down fork of Piscina built primarily for Vitest. It supports both worker_threads and child_process runtimes with a tiny 38KB install size.

## Use cases
- run CPU-bound tasks in parallel worker threads in Node.js
- offload heavy computation off the main thread
- pool worker threads for a test runner
- execute tasks in child processes instead of threads
- keep install size tiny in a bundler or test framework
- communicate between main thread and workers via MessageChannel

## When to choose
- you need a tiny, zero-dependency worker pool for Node.js 18+ with ESM
- you're building a test runner or tool like Vitest that needs worker pooling
- you want worker_threads or child_process support without Piscina's extra features

## When to avoid
- you need utilization metrics or OS-specific thread priority settings - use Piscina
- you need CommonJS support - Tinypool is ESM-only
- you're not on Node.js 18 or higher

## Facets
- artifact type: library
- maturity: active
- function: concurrency, developer-tools
- domain: developer-tools, performance, backend
- platform: cli
- tags: worker-threads, thread-pool, piscina-fork, esm, minimal, vitest, child-process, nodejs

## Member repositories
- tinylibs/tinypool (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.771980+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:55:30.111853+00:00, confidence not recorded.
  - readme: https://github.com/tinylibs/tinypool (fetched 2026-08-28T04:05:07.771980+00:00, sha cd204a87c78d)
  - registry_npm: https://registry.npmjs.org/tinypool (fetched 2026-08-29T11:26:14.767717+00:00, sha 0140d5de4622)
- Data as of 2026-08-30T08:39:29.467469+00:00.
