{"id":18823883,"url":"https://github.com/eddyerburgh/dom-event-types","last_synced_at":"2025-04-14T01:30:33.070Z","repository":{"id":33016372,"uuid":"149911336","full_name":"eddyerburgh/dom-event-types","owner":"eddyerburgh","description":"DOM event data scraped from MDN","archived":false,"fork":false,"pushed_at":"2023-03-07T06:01:00.000Z","size":425,"stargazers_count":5,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T15:47:32.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddyerburgh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-22T19:42:42.000Z","updated_at":"2022-06-30T06:52:24.000Z","dependencies_parsed_at":"2024-06-18T18:23:20.056Z","dependency_job_id":null,"html_url":"https://github.com/eddyerburgh/dom-event-types","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"79ed70ebaa7fcf0b02505344dc985f9a8b7e3ae0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fdom-event-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fdom-event-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fdom-event-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddyerburgh%2Fdom-event-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddyerburgh","download_url":"https://codeload.github.com/eddyerburgh/dom-event-types/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248807270,"owners_count":21164653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T00:54:56.137Z","updated_at":"2025-04-14T01:30:33.029Z","avatar_url":"https://github.com/eddyerburgh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"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//=\u003e { \"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fdom-event-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddyerburgh%2Fdom-event-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyerburgh%2Fdom-event-types/lists"}