{"_id":"@ungap/event-target","_rev":"4210689","name":"@ungap/event-target","description":"An EventTarget polyfill","dist-tags":{"latest":"0.2.4"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"time":{"modified":"2026-03-04T17:05:37.000Z","created":"2018-12-05T04:24:44.221Z","0.2.4":"2023-04-10T16:41:42.357Z","0.2.3":"2021-07-20T16:10:50.623Z","0.2.2":"2020-07-24T06:13:08.407Z","0.2.1":"2020-06-21T10:34:29.875Z","0.2.0":"2020-05-02T12:47:18.420Z","0.1.0":"2018-12-05T04:24:44.221Z"},"users":{},"author":{"name":"Andrea Giammarchi"},"repository":{"type":"git","url":"git+https://github.com/ungap/event-target.git"},"versions":{"0.2.4":{"name":"@ungap/event-target","version":"0.2.4","description":"An EventTarget polyfill","main":"./cjs/index.js","module":"./esm/index.js","types":"./index.d.ts","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run esm && npm run min && npm run test && npm run size","cjs":"cat index.js | sed 's/var self.*/var self = {};/' > cjs/index.js && echo 'module.exports = self.EventTarget;' >> cjs/index.js","esm":"cat index.js | sed 's/var self.*/var self = {};/' > esm/index.js && echo 'export default self.EventTarget;' >> esm/index.js","min":"terser index.js --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"},"keywords":["EventTarget","polyfill","ungap"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"coveralls":"^3.1.1","nyc":"^15.1.0","terser":"^5.7.1"},"repository":{"type":"git","url":"git+https://github.com/ungap/event-target.git"},"bugs":{"url":"https://github.com/ungap/event-target/issues"},"homepage":"https://github.com/ungap/event-target#readme","type":"module","exports":{"types":"./index.d.ts","import":"./esm/index.js","default":"./cjs/index.js"},"gitHead":"41f3cfa9a6dfbeed951f34bcd118c3482abb4201","_id":"@ungap/event-target@0.2.4","_nodeVersion":"19.8.1","_npmVersion":"8.19.2","dist":{"shasum":"8b083a62ee665228bac08013fa516a3488528bb8","size":2750,"noattachment":false,"key":"/@ungap/event-target/-/@ungap/event-target-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/event-target/download/@ungap/event-target-0.2.4.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target_0.2.4_1681144902138_0.8805342419663409"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-10T16:41:42.357Z","publish_time":1681144902357,"_cnpm_publish_time":1681144902357},"0.2.3":{"name":"@ungap/event-target","version":"0.2.3","description":"An EventTarget polyfill","main":"./cjs/index.js","module":"./esm/index.js","types":"./index.d.ts","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run esm && npm run min && npm run test && npm run size","cjs":"cat index.js | sed 's/var self.*/var self = {};/' > cjs/index.js && echo 'module.exports = self.EventTarget;' >> cjs/index.js","esm":"cat index.js | sed 's/var self.*/var self = {};/' > esm/index.js && echo 'export default self.EventTarget;' >> esm/index.js","min":"terser index.js --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"},"keywords":["EventTarget","polyfill","ungap"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"coveralls":"^3.1.1","nyc":"^15.1.0","terser":"^5.7.1"},"repository":{"type":"git","url":"git+https://github.com/ungap/event-target.git"},"bugs":{"url":"https://github.com/ungap/event-target/issues"},"homepage":"https://github.com/ungap/event-target#readme","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"gitHead":"fdcd6747076a77725c6006dbad82e96c70916476","_id":"@ungap/event-target@0.2.3","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"be682c681126dca2371c4e1a1721f8e8bb400905","size":2784,"noattachment":false,"key":"/@ungap/event-target/-/@ungap/event-target-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/event-target/download/@ungap/event-target-0.2.3.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target_0.2.3_1626797450488_0.6525908525257729"},"_hasShrinkwrap":false,"publish_time":1626797450623,"_cnpm_publish_time":1626797450623,"_cnpmcore_publish_time":"2021-12-16T16:51:49.973Z"},"0.2.2":{"name":"@ungap/event-target","version":"0.2.2","description":"An EventTarget polyfill","main":"./cjs/index.js","module":"./esm/index.js","types":"./index.d.ts","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run esm && npm run min && npm run test && npm run size","cjs":"cat index.js | sed 's/var self.*/var self = {};/' > cjs/index.js && echo 'module.exports = self.EventTarget;' >> cjs/index.js","esm":"cat index.js | sed 's/var self.*/var self = {};/' > esm/index.js && echo 'export default self.EventTarget;' >> esm/index.js","min":"terser index.js --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"},"keywords":["EventTarget","polyfill","ungap"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"coveralls":"^3.1.0","nyc":"^15.1.0","terser":"^4.8.0"},"repository":{"type":"git","url":"git+https://github.com/ungap/event-target.git"},"bugs":{"url":"https://github.com/ungap/event-target/issues"},"homepage":"https://github.com/ungap/event-target#readme","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"gitHead":"b5f1aa0589faab6eba41b3e203c295a685e022a9","_id":"@ungap/event-target@0.2.2","_nodeVersion":"14.6.0","_npmVersion":"6.14.7","dist":{"shasum":"6543122625a0a793c5fa265f45717cd096b0fb7c","size":2745,"noattachment":false,"key":"/@ungap/event-target/-/@ungap/event-target-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/event-target/download/@ungap/event-target-0.2.2.tgz"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target_0.2.2_1595571188314_0.24637692701972402"},"_hasShrinkwrap":false,"publish_time":1595571188407,"_cnpm_publish_time":1595571188407,"_cnpmcore_publish_time":"2021-12-16T16:51:50.393Z"},"0.2.1":{"name":"@ungap/event-target","version":"0.2.1","description":"An EventTarget polyfill","main":"./cjs/index.js","module":"./esm/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run esm && npm run min && npm run test && npm run size","cjs":"cat index.js | sed 's/var self.*/var self = {};/' > cjs/index.js && echo 'module.exports = self.EventTarget;' >> cjs/index.js","esm":"cat index.js | sed 's/var self.*/var self = {};/' > esm/index.js && 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"},"keywords":["EventTarget","polyfill","ungap"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"coveralls":"^3.1.0","nyc":"^15.1.0","uglify-js":"^3.9.4"},"repository":{"type":"git","url":"git+https://github.com/ungap/event-target.git"},"bugs":{"url":"https://github.com/ungap/event-target/issues"},"homepage":"https://github.com/ungap/event-target#readme","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"gitHead":"c5ccea6eab3c539adc3d12593c385aa98a739f8b","_id":"@ungap/event-target@0.2.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"shasum":"7d4d5f61cc4f08828c6af24ebe1c85fb1ed0a301","size":2711,"noattachment":false,"key":"/@ungap/event-target/-/@ungap/event-target-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/event-target/download/@ungap/event-target-0.2.1.tgz"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target_0.2.1_1592735669684_0.4400412896008645"},"_hasShrinkwrap":false,"publish_time":1592735669875,"_cnpm_publish_time":1592735669875,"_cnpmcore_publish_time":"2021-12-16T16:51:50.604Z"},"0.2.0":{"name":"@ungap/event-target","version":"0.2.0","description":"An EventTarget polyfill","main":"./cjs/index.js","module":"./esm/index.js","unpkg":"min.js","scripts":{"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"},"keywords":["EventTarget","polyfill","ungap"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"coveralls":"^3.1.0","nyc":"^15.0.1","uglify-js":"^3.9.1"},"repository":{"type":"git","url":"git+https://github.com/ungap/event-target.git"},"bugs":{"url":"https://github.com/ungap/event-target/issues"},"homepage":"https://github.com/ungap/event-target#readme","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"gitHead":"fd2cdbb841935ac774a642c5db471676f79feebd","_id":"@ungap/event-target@0.2.0","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"shasum":"a79dbea40db5e1fe496c9804a6e0346f942a04ce","size":2693,"noattachment":false,"key":"/@ungap/event-target/-/@ungap/event-target-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/event-target/download/@ungap/event-target-0.2.0.tgz"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target_0.2.0_1588423638271_0.2852950048829199"},"_hasShrinkwrap":false,"publish_time":1588423638420,"_cnpm_publish_time":1588423638420,"_cnpmcore_publish_time":"2021-12-16T16:51:50.801Z"},"0.1.0":{"name":"@ungap/event-target","version":"0.1.0","description":"An EventTarget polyfill","main":"cjs/index.js","module":"esm/index.js","unpkg":"min.js","scripts":{"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":"cat ./coverage/lcov.info | coveralls","test":"istanbul cover test/index.js"},"keywords":["EventTarget","polyfill","ungap"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"coveralls":"^3.0.2","istanbul":"^0.4.5","uglify-js":"^3.4.9"},"repository":{"type":"git","url":"git+https://github.com/ungap/event-target.git"},"bugs":{"url":"https://github.com/ungap/event-target/issues"},"homepage":"https://github.com/ungap/event-target#readme","gitHead":"c06b44f7fb5c0e814d9fec208d1510863e5d642e","_id":"@ungap/event-target@0.1.0","_npmVersion":"6.0.0","_nodeVersion":"9.11.1","_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"dist":{"shasum":"88d527d40de86c4b0c99a060ca241d755999915b","size":2624,"noattachment":false,"key":"/@ungap/event-target/-/@ungap/event-target-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/event-target/download/@ungap/event-target-0.1.0.tgz"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-target_0.1.0_1543983884086_0.9883662612199713"},"_hasShrinkwrap":false,"publish_time":1543983884221,"_cnpm_publish_time":1543983884221,"_cnpmcore_publish_time":"2021-12-16T16:51:51.018Z"}},"readme":"# EventTarget\n\n[![Build Status](https://travis-ci.com/ungap/event-target.svg?branch=master)](https://travis-ci.com/ungap/event-target) [![Coverage Status](https://coveralls.io/repos/github/ungap/event-target/badge.svg?branch=master)](https://coveralls.io/github/ungap/event-target?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/event-target.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg)\n\nA [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) polyfill.\n\n  * CDN, as global patch, via https://unpkg.com/@ungap/event-target\n  * ESM via `import EventTarget from '@ungap/event-target'`\n  * CJS via `const EventTarget = require('@ungap/event-target')`\n\n[Live test](https://ungap.github.io/event-target/test/)\n","_attachments":{},"homepage":"https://github.com/ungap/event-target#readme","bugs":{"url":"https://github.com/ungap/event-target/issues"},"license":"ISC"}