A little module for proxying events through arbitrary emitters.
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
var EventEmitter = require'events'EventEmittervar relay = require'event-relay'var source =var proxy =proxyon'relayed-event'// Do something with your datasourceon'event' relay'relayed-event' proxysourceemit'event' some: 'data'