# @ungap/custom-event

> A CustomEvent polyfill for legacy browsers.

Latest version **0.3.1** (published 2020-06-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ungap/custom-event
pnpm add @ungap/custom-event
yarn add @ungap/custom-event
bun add @ungap/custom-event
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2020-06-21 |
| First published | 2018-11-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Andrea Giammarchi |
| Maintainers | webreflection |
| Keywords | CustomEvent, polyfill, legacy, ungap |

## Links

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

## 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

- 0.3.1 (latest) — 2020-06-21
- 0.3.0 — 2020-05-02
- 0.2.0 — 2018-12-05
- 0.1.2 — 2018-11-30
- 0.1.1 — 2018-11-23
- 0.1.0 — 2018-11-23

## README

# CustomEvent

[![Build Status](https://travis-ci.com/ungap/custom-event.svg?branch=master)](https://travis-ci.com/ungap/custom-event) [![Coverage Status](https://coveralls.io/repos/github/ungap/custom-event/badge.svg?branch=master)](https://coveralls.io/github/ungap/custom-event?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/custom-event.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg)

A [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent) polyfill for legacy browsers.

  * CDN via https://unpkg.com/@ungap/custom-event
  * ESM via `import CustomEvent from '@ungap/custom-event'`
  * CJS via `const CustomEvent = require('@ungap/custom-event')`

Compatible with IE11, requires [dom4](https://github.com/WebReflection/dom4#dom4) upfront for older browsers.

[Live test](https://ungap.github.io/custom-event/test/)

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