title: ES6 Classes Event Emitter
body: <p>Can someone point me to a decent EventEmitter (ES6) to use emit events globally across different classes? Preferably with examples? I found quite a dozen, but none with working examples between classes.. </p>
  
  <p>I'd love one that works as a Singleton so I don't have to extend it..</p>
  
  <p>For Example (not real code):</p>
  
  <pre><code>import emitter from 'SingleTonEmitter';
  export class Listener(){
  const myEmitter = new Emitter()
  myEmitter.on('somethingHappened', (data) =&gt; this.onChange())
  }
  
  // NEW sepatate class
  import emitter from 'SingleTonEmitter';
  export class DispatchClass(){
  const myEmitter = new Emitter()
  myEmitter.dispatch('somethingHappened','optionalData')
  }
  </code></pre>
  
  <p>Thanks in advance!</p>