Gathering detailed insights and metrics for @types/xmldom
Gathering detailed insights and metrics for @types/xmldom
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.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
51,821,084
Last Day
13,174
Last Week
287,867
Last Month
1,305,229
Last Year
13,452,635
NOASSERTION License
49,995 Stars
89,697 Commits
30,435 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 04, 2025
Latest Version
0.1.34
Package Id
@types/xmldom@0.1.34
Unpacked Size
4.69 kB
Size
1.81 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
-5.6%
13,174
Compared to previous day
Last Week
-8.3%
287,867
Compared to previous week
Last Month
5.8%
1,305,229
Compared to previous month
Last Year
52.6%
13,452,635
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
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 25/29 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-06-30
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