Rare find

Emittery. A way for different parts of your code to send messages to each other.

github.com/sindresorhus/emittery

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

May 2026
  • Fix CI
  • Avoid redundant map lookups
  • Use private fields for internal state
  • Readme tweaks
March 2026
  • Release —
  • 2.0.0
  • Tweaks
  • Add FAQ about synchronous emit
  • Add `init`/`deinit` lifecycle hooks
February 2026
  • Require Node.js 22
  • Fix `emit()` silently dropping errors from multiple listeners
  • Document and test async listener scheduling behavior
  • Fix Emittery not working when wrapped in a Proxy
  • Fix debug logger emitting noise for internal meta events
  • Fix mixin decorator to work with TC39 standard decorator syntax
  • Fix `emitMetaEvent` breaking async `emit()` overrides in subclasses
  • Change all listeners to receive a unified `{name, data?}` object
  • Release —
  • 1.2.1
  • Fix `emitSerial()` not delivering events to async iterators
June 2025
  • Release —
  • 1.2.0
  • Add support for filter predicate in `once()` (#124)
January 2025
  • Release —
February 2024
  • Release —
January 2024
  • Release —
November 2022
  • Release —
September 2022
  • Release —
August 2022
  • Release —
  • Release —