This package has been deprecated

Author message:

improved, moved, and maintained as @ungap/event-target

event-target

1.2.3 • Public • Published

event-target donate License: ISC Build Status Coverage Status

The 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'; ( or from 'event-target/esm' )

Compatibility:

Every. JavaScript. Engine.

Package Sidebar

Install

npm i event-target

Weekly Downloads

890

Version

1.2.3

License

ISC

Unpacked Size

16.4 kB

Total Files

9

Last publish

Collaborators

  • webreflection