Event emitter microlibrary for node and browser