event-relay is a little module for proxying events through arbitrary emitters. It will work with any event emitter implementation (EventEmitter, emitter-component, asEvented, etc) that exposes an emit() method.
$ npm install event-relay
event-relay( event (string): the name of the event that will be emitted emitter (event_emitter): the proxy who will emit the aforementioned event. must have an emit() method )
var EventEmitter = EventEmittervar relay =var source =var proxy =proxysourcesource