{"_id":"dom-event-types","_rev":"2-c69c615d447cfbb068ad98cb873398fd","name":"dom-event-types","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"dom-event-types","version":"1.0.0","description":"DOM events data scraped from MDN","main":"index.js","repository":{"type":"git","url":"git+https://github.com/eddyerburgh/dom-event-types.git"},"author":{"name":"Edd Yerburgh"},"license":"MIT","private":false,"scripts":{"lint":"eslint '{,!(node_modules)/**/}*.js'","test":"jest"},"devDependencies":{"axios":"^0.18.0","cheerio":"^1.0.0-rc.2","eslint":"^5.6.0","eslint-config-prettier":"^3.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","husky":"^1.0.0-rc.14","jest":"^23.6.0","lint-staged":"^7.3.0","ora":"^3.0.0","prettier":"^1.14.3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,json,css,md}":["prettier --write","git add"]},"gitHead":"86b100c785c7f8eef181c5ec82a1907b12948fbb","bugs":{"url":"https://github.com/eddyerburgh/dom-event-types/issues"},"homepage":"https://github.com/eddyerburgh/dom-event-types#readme","_id":"dom-event-types@1.0.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.4","_npmUser":{"name":"eddyerburgh","email":"edward.yerburgh@gmail.com"},"dist":{"integrity":"sha512-2G2Vwi2zXTHBGqXHsJ4+ak/iP0N8Ar+G8a7LiD2oup5o4sQWytwqqrZu/O6hIMV0KMID2PL69OhpshLO0n7UJQ==","shasum":"5830a0a29e1bf837fe50a70cd80a597232813cae","tarball":"https://registry.npmjs.org/dom-event-types/-/dom-event-types-1.0.0.tgz","fileCount":10,"unpackedSize":163229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbppvvCRA9TVsSAnZWagAAo9sP/1TVuX37YqM8RYuSHnSN\nWM6EVBzL7uESJ4j9GaotKDLuDlISUtjgv8ugJheMQNm0iGwBG4d7rigtW0uh\nfxRDlo7vUB8K63qxykNXZIkBtDQQXeIZLfeGJ1tsxltdXfutebCml2/0nsJS\naOAm5pCmGFW1fuvacyZqeSTji2WxNP0liIm5gjSGrGFt4A/bOdIavfmsrM75\n3CW9edmBLaDqBUJPYjhPe0oceSxNNV8en94MSfjxuI202TQU1sl9/iIMm87d\nzkG6GIY+6dkgGg4t5i+WwqiMeoqIgeVyjTVU8t1loMrf68+QwPSSWfugAk7p\nr0wE1oHM1j53Di3bqRf3WalxKAz4QlO84ZQ27qmmylL4B2Uujs87uYg6pypY\nvqOoLDXKfVMN55OGmSaR9PmBTBywP7rm7IqYog19hD5DK8+s8NEpAhHAyxaF\n2YaT9wQzH4escJAKruqNGSGgyc0dG4830rNkOWQhf04kT7hFasfcae+D0030\n0jlygpAR+ZAaT1oOa/xLdtqLcy6iiNzgrEBlR1Hg9uoRcuDhabVjYKnsXQQD\nnegHu9Mzql0Z+sTX8MgUDPCeT3MOBZTff7qqtaJh+4z65ymdNMlZCV09Bqns\n1eWo1WpLAsLLLXodZi9MehlPB95Zp6twGJU1A+I/6jpHGkrIC6nWnTmOq5OE\n6kS/\r\n=x2Ki\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeBmsa3X2EpvSDAKTA/zPf9S1zX7c+cqHQAci3QTGnLgIgYvyajr+OE8S5ATye96jgFu0Df7I4VKr2O8pYy0IqIKs="}]},"maintainers":[{"name":"eddyerburgh","email":"edward.yerburgh@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-event-types_1.0.0_1537645550577_0.23723917125843408"},"_hasShrinkwrap":false},"1.1.0":{"name":"dom-event-types","version":"1.1.0","description":"DOM events data scraped from MDN","main":"index.js","types":"dom-event-types.ts","repository":{"type":"git","url":"git+https://github.com/eddyerburgh/dom-event-types.git"},"author":{"name":"Edd Yerburgh"},"license":"MIT","keywords":["DOM event data","DOM event interfaces","DOM events json"],"private":false,"scripts":{"generate":"node scrape","lint":"eslint '{,!(node_modules)/**/}*.js'","test":"jest"},"devDependencies":{"axios":"^0.18.0","cheerio":"^1.0.0-rc.2","eslint":"^5.6.0","eslint-config-prettier":"^3.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","husky":"^1.0.0-rc.14","jest":"^23.6.0","lint-staged":"^7.3.0","ora":"^3.0.0","prettier":"^1.14.3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,json,css,md}":["prettier --write","git add"]},"gitHead":"98d2d19861d9bcb61f9510ba8ca26a35d7ef885c","bugs":{"url":"https://github.com/eddyerburgh/dom-event-types/issues"},"homepage":"https://github.com/eddyerburgh/dom-event-types#readme","_id":"dom-event-types@1.1.0","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-jNCX+uNJ3v38BKvPbpki6j5ItVlnSqVV6vDWGS6rExzCMjsc39frLjm1n91o6YaKK6AZl0wLloItW6C6mr61BQ==","shasum":"120c1f92ddea7758db1ccee0a100a33c39f4701b","tarball":"https://registry.npmjs.org/dom-event-types/-/dom-event-types-1.1.0.tgz","fileCount":10,"unpackedSize":41626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/Nq1CRA9TVsSAnZWagAAPRUQAJQkbkc3IXThjZxGTV/W\nmSdq+3AF6gvI65FMeHoLJOtMzzfvbiuU8g/BuBQq1NzcRo0BSe+E6/tq6dqr\nFOYZTMu2dPKnlzddLFG5zjjBqLDpJfgrpiTlfAlMh1Y2mzCiKE6PhX6+qPMR\n0VyN+ldq4sb5XswjC6UYXM7lSwTm75WRqBHpLiPMD7k2X+fZqFcj7jxHy6Ht\nUmn6g5qWbn7O2ti9ZQk2HAkzhQALoXt9djADdVi/jNDMO3wIOxaT2RYAQuvl\neGLsuiWyvXGDxj/Ycfq5Dw7JmvRETTDDSWNaiVo+Imv2hi21fvqvJt1HHuvA\nx7ecFHwFNgvdRRI0TDNJ+rPTW6ugfoA9YynyPW0XFierOWb66cjWJTHz1xbe\nPXDoPNWpBAMe89Dic2Ex1tGCM/ferK7LJcIgn120IFYHJ60cVKrYewuJziHC\n4s5DMTqOYT5lFvJIZ/2I7QdeAYE/8hJQfgiwW7FKs8cxxZ/qygSp09iKGiEl\nO/SbIc0Y+1z712STBJPgjg65TMmQ6YkTJ0NQxjG1Qbwj+k96XhUeok9p6l5h\n3ZL5z64ImYg0Ig0jmi9ichZ9HMS3x3iYDJVwj0BU0beuTd1c0jLuYFvm1pZC\nn+DohHcy7+4VWoEzerTsFcSDc8f9XkhqovknV+nk3MAigAyFANErleAwrV6P\njyxJ\r\n=NIpS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMjZ0SplTll7ALFmYtj4LWYSO0h3xE88Kw5hbAY3/6FAIhALLlBmimb8TRCDyHPeWuxqpXUX1SXnXccVe6LQSB764U"}]},"_npmUser":{"name":"eddyerburgh","email":"edward.yerburgh@gmail.com"},"directories":{},"maintainers":[{"name":"eddyerburgh","email":"edward.yerburgh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-event-types_1.1.0_1643961013155_0.9415161515298511"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-22T19:45:50.576Z","1.0.0":"2018-09-22T19:45:50.769Z","modified":"2022-04-29T02:17:53.229Z","1.1.0":"2022-02-04T07:50:13.365Z"},"maintainers":[{"name":"eddyerburgh","email":"edward.yerburgh@gmail.com"}],"description":"DOM events data scraped from MDN","homepage":"https://github.com/eddyerburgh/dom-event-types#readme","repository":{"type":"git","url":"git+https://github.com/eddyerburgh/dom-event-types.git"},"author":{"name":"Edd Yerburgh"},"bugs":{"url":"https://github.com/eddyerburgh/dom-event-types/issues"},"license":"MIT","readme":"# dom-event-types\n\nAn object of DOM event types and their interfaces.\n\nData scraped from MDN.\n\n## Usage\n\n```shell\nnpm install --save-dev dom-event-types\n```\n\n```js\nconst eventInterfaces = require(\"dom-event-interfaces\");\n\nconsole.log(eventInterfaces);\n//=> { \"abort\": { \"eventInterface\": \"Event\", \"bubbles\": false, \"cancelable\": false }, ... }\n```\n\n## Shape\n\n```ts\n{\n  [eventType]: {\n    eventInterface: string\n    cancelable: Boolean\n    bubbles: Boolean\n  }\n}\n```\n\nIf `cancelable` or `bubbles` are undefined, it's because there is no entry for them on MDN.\n\n## Duplicates\n\nSome events have duplicate interfaces. To make this package easier to use, duplicates have been removed. You can see a list of events with duplicate interfaces, and the interface that's exported in this project.\n\n| name    | event interfaces                                         | interface in `dom-event-types` |\n| ------- | -------------------------------------------------------- | ------------------------------ |\n| abort   | Event, ProgressEvent, UIEvent                            | Event                          |\n| end     | Event, SpeechSynthesisEvent                              | Event                          |\n| error   | ProgressEvent, Event, SpeechSynthesisErrorEvent, UIEvent | Event                          |\n| load    | UIEvent, ProgressEvent                                   | UIEvent                        |\n| message | ServiceWorkerMessageEvent, MessageEvent                  | MessageEvent                   |\n| error   | ProgressEvent, Event, SpeechSynthesisErrorEvent, UIEvent | Event                          |\n","readmeFilename":"README.md","keywords":["DOM event data","DOM event interfaces","DOM events json"]}