developit/mitt
🥊 Tiny 200 byte functional event emitter / pubsub. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 3518
- days_rel: n/a
- days_push: 749
- n_releases_24m: 0
Adoption not part of the score
11900 stars · 486 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Mitt is a tiny (~200 byte gzipped) functional event emitter / pubsub library for JavaScript, with a wildcard '*' event type and typed event support in TypeScript. It works in any JavaScript runtime with no dependencies.
Use cases
- emit and listen to events in the browser
- create a lightweight event bus for a frontend app
- pubsub communication between components
- typed event emitter in TypeScript
- replace Node's EventEmitter in a small bundle
- decouple modules with a wildcard event listener
When to choose
- you need a minimal, dependency-free event emitter
- bundle size matters and you only need on/off/emit
- you want TypeScript-typed events
- you need wildcard subscription to all events
When to avoid
- you need advanced features like once, async handlers, or event namespaces
- you're in Node.js and can use the built-in EventEmitter
- you need hierarchical or scoped event systems
Facets
library · maturity stable
middleware developer-tools web-development frontend browser cross-platform event-emitter pubsub event-bus tiny typescript zero-dependency javascript nodejs
2 sources
- readme: https://github.com/developit/mitt · fetched 2026-08-28 · 1c6fa745603d
- registry_npm: https://registry.npmjs.org/mitt · fetched 2026-08-29 · 3b1618889cbc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| developit/mitt | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem