Installations
npm install dom-event-types
Releases
Unable to fetch releases
Developer
eddyerburgh
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
17.4.0
NPM Version
8.3.1
Statistics
5 Stars
9 Commits
1 Forks
2 Watching
5 Branches
2 Contributors
Updated on 30 Jun 2022
Bundle Size
13.36 kB
Minified
1.57 kB
Minified + Gzipped
Languages
TypeScript (91.96%)
JavaScript (8.04%)
Total Downloads
Cumulative downloads
Total Downloads
204,408,534
Last day
-6%
123,442
Compared to previous day
Last week
-2.1%
667,364
Compared to previous week
Last month
14.2%
2,915,309
Compared to previous month
Last year
-20.6%
33,766,466
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
dom-event-types
An object of DOM event types and their interfaces.
Data scraped from MDN.
Usage
1npm install --save-dev dom-event-types
1const eventInterfaces = require("dom-event-interfaces"); 2 3console.log(eventInterfaces); 4//=> { "abort": { "eventInterface": "Event", "bubbles": false, "cancelable": false }, ... }
Shape
1{ 2 [eventType]: { 3 eventInterface: string 4 cancelable: Boolean 5 bubbles: Boolean 6 } 7}
If cancelable
or bubbles
are undefined, it's because there is no entry for them on MDN.
Duplicates
Some 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.
name | event interfaces | interface in dom-event-types |
---|---|---|
abort | Event, ProgressEvent, UIEvent | Event |
end | Event, SpeechSynthesisEvent | Event |
error | ProgressEvent, Event, SpeechSynthesisErrorEvent, UIEvent | Event |
load | UIEvent, ProgressEvent | UIEvent |
message | ServiceWorkerMessageEvent, MessageEvent | MessageEvent |
error | ProgressEvent, Event, SpeechSynthesisErrorEvent, UIEvent | Event |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 1/9 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 1 are checked with a SAST tool
Reason
27 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25
- Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99
- Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x
- Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx
- Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q
- Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c
- Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc
- Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
Score
1.9
/10
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More