# new Event() polyfill

>  Based on [mdn customEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill) polyfill.

## Installation

```
npm install new-event-polyfill --save
yarn new-event-polyfill
```

## Usage

```js
// (ES6 Modules)
import 'new-event-polyfill';

// (CommonJS)
require('new-event-polyfill');
```

# Info
This Repo is based on the [mdn-polyfills](https://github.com/msn0/mdn-polyfills) repo from [Michał Jezierski](https://github.com/msn0)
The polyfill is based on the pollyfill from [developer.mozilla.org](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill)
