CustomEvent ponyfill
npm install customevent> Ponyfill for CustomEvent
```
$ npm install --save customevent
`js
const customEvent = require('customevent');
const event = new customEvent('click', {
cancelable: true,
bubbles: false,
detail: {
foo: 'bar'
}
});
`
Creates a custom event and returns an event
#### typeArg
Type: string
A DOMString representing the name of the event.
#### customEventInit (optional)
Type: object`
MIT © Alex Cross