{"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":"http://registry-npm.ywwl.com/dom-event-types/download/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="}],"size":43370,"noattachment":false,"key":"/dom-event-types/-/dom-event-types-1.0.0.tgz"},"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,"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","publish_time":1537645550769,"_cnpm_publish_time":1537645550769,"dist-tags":{"latest":"1.1.0"}}