# custom-event-polyfill

> A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.

Latest version **1.0.7** (published 2019-04-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install custom-event-polyfill
pnpm add custom-event-polyfill
yarn add custom-event-polyfill
bun add custom-event-polyfill
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2019-04-08 |
| First published | 2014-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 55 |
| Author | Evan Krambuhl |
| Maintainers | krambuhl |
| Keywords | polyfill, custom-event, CustomEvent, Web API Interface |

## Links

- npm: https://www.npmjs.com/package/custom-event-polyfill
- Repository: https://github.com/kumarharsh/custom-event-polyfill
- Homepage: https://github.com/kumarharsh/custom-event-polyfill#readme
- Issues: https://github.com/kumarharsh/custom-event-polyfill/issues
- npm.io page: https://npm.io/package/custom-event-polyfill

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 1.0.7 (latest) — 2019-04-08
- 1.0.6 — 2018-07-27
- 1.0.2 — 2018-07-21
- 1.0.1 — 2018-07-21
- 1.0.0 — 2018-07-21
- 0.3.0 — 2016-08-31
- 0.2.2 — 2016-02-05
- 0.2.1 — 2015-04-24
- 0.1.2 — 2014-09-15
- 0.1.1 — 2014-05-19
- 0.1.0 — 2014-05-19

## README

# custom-event-polyfill

A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.

[![Sauce Test Status](https://saucelabs.com/browser-matrix/kumarharsh.svg)](https://saucelabs.com/u/kumarharsh)


## Install

```bash
# using yarn
$ yarn add custom-event-polyfill

# using npm
$ npm install --save custom-event-polyfill
```

## Usage

Just include this polyfill before using any code which creates a CustomEvent
object, ideally as early as possible.

Refer to the CustomEvent documentation for details on how to use it:
https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent

## Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by [Sauce Labs](https://saucelabs.com).

## License

MIT

---
_Source: https://npm.io/package/custom-event-polyfill · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
