GoogleChromeLabs/comlink
Comlink makes WebWorkers enjoyable. observed · 2026-10-15
Health v2 · maintenance only
67/100
- Activity 99
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3331
- days_rel: 712
- days_push: 6
- n_releases_24m: 1
Adoption not part of the score
12804 stars · 438 forks observed · 2026-10-15
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-10-15 · 3ff26090558f
- registry_npm: https://registry.npmjs.org/comlink · fetched 2026-08-29 · 52510d21b7ac
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GoogleChromeLabs/comlink | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="GoogleChromeLabs/comlink")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem