Attach an EventEmitter listener that emits before all other existing listeners
for that event.
Note: it's also worth checking out timoxley's
API offers more flexibility, and unlike on-first only uses the public
require('on-first')(emitter, event, listener)
MIT. See LICENSE.md for details.
how? learn more