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


event-target donate License: ISC Build Status Coverage Status

The EventTarget Class Polyfill.

How to use it:

  • via CDN, as global variable:
  • via ESM, as external module:
  • via CJS: const EventTarget = require('event-target').default;
  • via bundlers/transpilers: import EventTarget from 'event-target'; ( or from 'event-target/esm' )


Every. JavaScript. Engine.