# event-target

> The EventTarget Class Polyfill

Latest version **1.2.3** (published 2018-07-03) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install event-target
pnpm add event-target
yarn add event-target
bun add event-target
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.3 |
| Published | 2018-07-03 |
| First published | 2013-02-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 16 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 47 |
| Author | Andrea Giammarchi |
| Maintainers | webreflection |
| Keywords | EventTarget, polyfill, universal |

## Links

- npm: https://www.npmjs.com/package/event-target
- Repository: https://github.com/WebReflection/event-target
- Issues: https://github.com/WebReflection/event-target/issues
- npm.io page: https://npm.io/package/event-target

## 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.2.3 (latest) — 2018-07-03
- 1.2.2 — 2018-04-27
- 1.2.1 — 2018-04-27
- 1.2.0 — 2018-01-13
- 1.1.1 — 2017-11-30
- 1.1.0 — 2017-11-29
- 1.0.0 — 2017-11-15
- 0.1.0 — 2013-02-07

## README

event-target [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/WebReflection/donate) [![License: ISC](https://img.shields.io/badge/License-ISC-yellow.svg)](https://opensource.org/licenses/ISC) [![Build Status](https://travis-ci.org/WebReflection/event-target.svg?branch=master)](https://travis-ci.org/WebReflection/event-target) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/event-target/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/event-target?branch=master)
============

The [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) Class Polyfill.

### How to use it:

  * via **CDN**, as global variable: `https://unpkg.com/event-target@latest/min.js`
  * **ponyfill** via **ESM**, as external module: `https://unpkg.com/event-target@latest/esm/index.js`
  * **ponyfill** via **CJS**: `const EventTarget = require('event-target').default;`
  * **ponyfill** via bundlers/transpilers: `import EventTarget from 'event-target';` <sup><sub>( or `from 'event-target/esm'` )</sub></sup>

### Compatibility:

Every. JavaScript. Engine.

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