A note about compatibility
The npm package should be used in an ES6 environment. Even though the published code has ES5 syntax it uses some ES6 features, so you have to make sure to use ES5 and ES6 polyfills if you are in an ancient environment.
npm install proxy-trigger
// proxy all events by defaulttargetEmittersourceEmittersourceEmitter// -> proxied foo// -> proxied bar// proxy a single eventtargetEmittersourceEmitter// -> title changed// proxy multiple events with a space-separated string// proxy multiple events with an array of strings// proxy events with name mapping using object notation// everything mixed