emitter-queue

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

Queue events from an event emitter until a listener is attached. Version 1.0.0 is the latest stable release. This module allows emitting events before any listener is registered, queuing them until a matching 'on' handler is added. Works with Node.js EventEmitter and the component/emitter library. Useful for initialization sequences where events fire before listeners are set up. Minimal API with a single method 'queue'.