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.
Manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more