@ungap/event-target

v0.2.0
An EventTarget polyfill
EventTarget polyfill ungap

build

npm run cjs && npm run esm && npm run min && npm run test && npm run size

cjs

cp index.js cjs/ && echo 'module.exports = self.EventTarget;' >> cjs/index.js

esm

cp index.js esm/ && echo 'export default self.EventTarget;' >> esm/index.js

min

uglifyjs index.js --support-ie8 --comments=/^!/ -c -m -o min.js

size

cat index.js | wc -c && cat min.js | wc -c && gzip -c9 min.js | wc -c && cat min.js | brotli | wc -c

coveralls

nyc report --reporter=text-lcov | coveralls

test

nyc node test/index.js
npm i @ungap/[email protected]

Metadata

  • ISC
  • Whatever
  • Andrea Giammarchi
  • released 5/2/2020

Downloads

Maintainers