node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

event-target

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
  • via ESM, as external module: https://unpkg.com/event-target@latest/esm/main.js
  • via CJS: const EventTarget = require('event-target').default;

Compatibility:

Every. JavaScript. Engine.