Nano Events
Simple and tiny (107 bytes) event emitter library for JavaScript
...Rather than offering many complex features, nanoevents focuses on the core primitives: creating an emitter, subscribing to named events, emitting events with arbitrary data, and unsubscribing. Because of its minimal API surface and implementation, it’s very easy to integrate into frontend or backend JS/TypeScript projects without introducing significant dependencies or weight. The simplicity reduces cognitive load: developers don’t need to read long docs or worry about advanced event semantics.