vercel/bidc
Bidirectional Channels for JavaScript observed · 2026-08-28
Health v2 · maintenance only
44/100
- Activity 57
- Release rhythm 37
- Longevity 28
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 109
- age_days: 394
- days_rel: 260
- days_push: 260
- n_releases_24m: 2
Adoption not part of the score
1277 stars · 23 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
BIDC is a TypeScript library providing bidirectional channels for asynchronous communication between JavaScript execution contexts such as iframes, web workers, and service workers. It improves on raw postMessage with automatic handshakes, complex data type transfer, and first-class Promise/async function support via a custom streaming protocol.
Use cases
- communicate between parent window and iframe with promises
- send messages between a web worker and main thread
- rpc-style method calls across javascript contexts
- transfer complex data types like maps and arraybuffers between contexts
- maintain channel connections when an iframe reloads
- handle concurrent async messages between browser contexts
When to choose
- you need structured two-way messaging between iframes, workers, or service workers
- you want promises and async functions to work across postMessage boundaries
- you need automatic handshake, reconnection, and message buffering
- you want typed rpc-style calls in TypeScript
When to avoid
- you only need simple one-way fire-and-forget postMessage
- you need communication over the network or between separate machines
- your contexts are not JavaScript (e.g., native or cross-language messaging)
- you require a library with an explicit open-source license for legal reasons
Facets
library · maturity active
rpc message-queue serialization websocket web-development frontend developer-tools apis browser postmessage iframe-communication web-workers async-messaging bidirectional-channels nodejs javascript typescript
1 source
- readme: https://github.com/vercel/bidc · fetched 2026-08-28 · 81a85d901911
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vercel/bidc | main | 44 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem