onetime
Ensure a function is only called once
once
Run a function exactly one time
eventemitter3
EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.
emittery
Simple and modern async event emitter
one-time
Run the supplied function exactly one time (once)