GoogleChromeLabs/comlink
Comlink makes WebWorkers enjoyable. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 97
- Release rhythm 8
- Longevity 100
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: 3283
- days_rel: 664
- days_push: 22
- n_releases_24m: 1
Adoption not part of the score
12787 stars · 436 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Comlink is a tiny (1.1kB) TypeScript library that implements RPC over postMessage using ES6 Proxies, making WebWorkers feel like local objects. It hides the message-passing boilerplate so you can call worker code with plain async/await.
Use cases
- run heavy computation off the main thread with web workers
- call worker functions like local async functions
- avoid postMessage boilerplate in browser apps
- keep the UI thread responsive on low-end mobile devices
- share objects between main thread and worker
- use callbacks and proxies across worker boundaries
When to choose
- you want ergonomic, promise-based WebWorker communication in the browser
- you need a tiny dependency with broad browser support
- you want to move CPU-heavy work off the main thread without rewriting APIs
When to avoid
- you need shared-memory parallelism or fine-grained thread control
- your environment lacks WebWorkers or ES6 Proxy support and you can't polyfill
- you need structured high-throughput message passing rather than RPC-style calls
Facets
library · maturity stable
rpc concurrency developer-tools web-development frontend developer-tools browser webworkers es6-proxies postmessage typescript multithreading web-server nodejs
2 sources
- readme: https://github.com/GoogleChromeLabs/comlink · fetched 2026-08-28 · 3ff26090558f
- registry_npm: https://registry.npmjs.org/comlink · fetched 2026-08-29 · 52510d21b7ac
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GoogleChromeLabs/comlink | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="GoogleChromeLabs/comlink")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem