Live event console
Build and inspect a real registry.
Add persistent, one-shot, typed, and wildcard subscribers; emit zero or many arguments; remove registrations; and watch the exact synchronous order. No user code is evaluated.
Three starter subscriptions are ready.
Live state
Registry
No subscriptions.
Chronological
Dispatch timeline
- Emit
demo.messageto begin.
This is an unbundled native ESM application.
The page's head maps event-pubsub and strong-type to deployed files, then playground.js imports the bare package name. An installed application uses the equivalent document-relative map below before its first module script:
<script type="importmap">
{"imports":{"event-pubsub":"./node_modules/event-pubsub/index.js","strong-type":"./node_modules/strong-type/index.js"}}
</script>If the app uses a strict CSP, authorize the inline import-map script with an allowed nonce or hash.
All displayed event types are quoted so empty strings and whitespace remain visible. Timeline retention is capped at 200 entries.