Gathering detailed insights and metrics for @types/xmldom
Gathering detailed insights and metrics for @types/xmldom
The repository for high quality TypeScript type definitions.
npm install @types/xmldom
Typescript
Module System
100
Supply Chain
83.1
Quality
75.9
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
46,821,950
Last Day
50,266
Last Week
214,495
Last Month
929,984
Last Year
11,840,963
49,126 Stars
88,653 Commits
30,294 Forks
640 Watching
5 Branches
9,978 Contributors
Latest Version
0.1.34
Package Id
@types/xmldom@0.1.34
Unpacked Size
4.69 kB
Size
1.81 kB
File Count
5
Publised On
07 Nov 2023
Cumulative downloads
Total Downloads
Last day
0.1%
50,266
Compared to previous day
Last week
-8.5%
214,495
Compared to previous week
Last month
0.5%
929,984
Compared to previous month
Last year
46.5%
11,840,963
Compared to previous year
npm install --save @types/xmldom
This package contains type definitions for xmldom (https://github.com/xmldom/xmldom).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmldom.
1/// <reference lib="dom" /> 2 3declare namespace xmldom { 4 var DOMParser: DOMParserStatic; 5 var XMLSerializer: XMLSerializerStatic; 6 var DOMImplementation: DOMImplementationStatic; 7 8 interface DOMImplementationStatic { 9 new(): DOMImplementation; 10 } 11 12 interface DOMParserStatic { 13 new(): DOMParser; 14 new(options: Options): DOMParser; 15 } 16 17 interface XMLSerializerStatic { 18 new(): XMLSerializer; 19 } 20 21 interface DOMParser { 22 parseFromString(xmlsource: string, mimeType?: string): Document; 23 } 24 25 interface XMLSerializer { 26 serializeToString(node: Node): string; 27 } 28 29 interface Options { 30 locator?: any; 31 errorHandler?: ErrorHandlerFunction | ErrorHandlerObject | undefined; 32 } 33 34 interface ErrorHandlerFunction { 35 (level: string, msg: any): any; 36 } 37 38 interface ErrorHandlerObject { 39 warning?: ((msg: any) => any) | undefined; 40 error?: ((msg: any) => any) | undefined; 41 fatalError?: ((msg: any) => any) | undefined; 42 } 43} 44 45export = xmldom; 46
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 26/30 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-02-03
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