postaljs/postal.js
JavaScript pub/sub library supporting advanced subscription features, and several helpful add-ons. observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 90
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 5424
- days_rel: n/a
- days_push: 64
- n_releases_24m: 0
Adoption not part of the score
2836 stars · 187 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
postal is a TypeScript-first pub/sub message bus for JavaScript with AMQP-style topic wildcards, channel-scoped messaging, request/response RPC, and wire taps. It includes a transport system for bridging messages across iframes, web workers, browser tabs, and Node.js child processes.
Use cases
- decouple components with publish-subscribe messaging in JavaScript
- send messages between browser tabs
- communicate between an iframe and its parent page
- publish and subscribe with wildcard topic matching
- implement request/response messaging over an event bus
- bridge pub/sub between web workers and the main thread
- add typed event-driven messaging to a TypeScript app
When to choose
- you need a lightweight, zero-dependency message bus with full TypeScript inference
- you need cross-context messaging (iframes, workers, tabs, child processes) with a consistent API
- you want AMQP-style wildcard subscriptions and channel isolation in the browser or Node.js
When to avoid
- you need durable, persistent message queuing across processes or machines — use a real message broker like RabbitMQ or Kafka
- you are on postal v2 and cannot afford the breaking changes in the v3 rewrite
- your app is simple enough that native EventTarget or EventEmitter suffices
Facets
library · maturity active
message-queue middleware rpc websocket web-development frontend developer-tools browser cross-platform pub-sub message-bus event-bus typescript amqp-wildcards iframes web-workers broadcast-channel zero-dependencies javascript nodejs web-server
4 sources
- readme: https://github.com/postaljs/postal.js · fetched 2026-08-28 · 1858de6f802e
- homepage: http://ifandelse.com · fetched 2026-08-29 · 15edc42c2bd4
- site_page: https://ifandelse.com/about · fetched 2026-08-29 · 8baed3ace81f
- site_page: https://ifandelse.com/blog/ai-made-my-expertise-economically-viable · fetched 2026-08-29 · 6b01ce197843
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| postaljs/postal.js | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="postaljs/postal.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem