Gathering detailed insights and metrics for @types/script-ext-html-webpack-plugin
Gathering detailed insights and metrics for @types/script-ext-html-webpack-plugin
Gathering detailed insights and metrics for @types/script-ext-html-webpack-plugin
Gathering detailed insights and metrics for @types/script-ext-html-webpack-plugin
The repository for high quality TypeScript type definitions.
npm install @types/script-ext-html-webpack-plugin
Typescript
Module System
81
Supply Chain
96.2
Quality
75.3
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,027 Stars
89,737 Commits
30,433 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 12, 2025
Latest Version
2.1.6
Package Id
@types/script-ext-html-webpack-plugin@2.1.6
Unpacked Size
7.29 kB
Size
2.08 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
npm install --save @types/script-ext-html-webpack-plugin
This package contains type definitions for script-ext-html-webpack-plugin (https://github.com/numical/script-ext-html-webpack-plugin).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin.
1import { Compiler, Plugin } from "webpack"; 2 3export = ScriptExtHtmlWebpackPlugin; 4 5declare class ScriptExtHtmlWebpackPlugin extends Plugin { 6 constructor(options?: ScriptExtHtmlWebpackPlugin.Options); 7 8 apply(compiler: Compiler): void; 9} 10 11type ScriptMatchingPatternBase = 12 | string 13 | RegExp 14 | ReadonlyArray<string | RegExp>; 15 16interface ScriptMatchingPatternHash { 17 test: ScriptMatchingPatternBase; 18} 19 20type ScriptMatchingPattern = 21 | ScriptMatchingPatternBase 22 | ScriptMatchingPatternHash; 23 24type ScriptMatchingPatternPre = 25 | ScriptMatchingPatternBase 26 | ScriptMatchingPatternHash & { 27 chunks?: "initial" | "async" | "all" | undefined; 28 }; 29 30interface Custom { 31 test: ScriptMatchingPattern; 32 attribute: string; 33 value?: string | undefined; 34} 35 36declare namespace ScriptExtHtmlWebpackPlugin { 37 interface Options { 38 /** 39 * scripts that should be inlined in the html (default: `[]`) 40 */ 41 inline?: ScriptMatchingPattern | undefined; 42 /** 43 * script names that should have no attribute (default: `[]`) 44 */ 45 sync?: ScriptMatchingPattern | undefined; 46 /** 47 * script names that should have an async attribute (default: `[]`) 48 */ 49 async?: ScriptMatchingPattern | undefined; 50 /** 51 * script names that should have a defer attribute (default: `[]`) 52 */ 53 defer?: ScriptMatchingPattern | undefined; 54 /** 55 * the default attribute to set - 'sync' actually results in no attribute (default: 'sync') 56 */ 57 defaultAttribute?: "sync" | "async" | "defer" | undefined; 58 /** 59 * script names that should have a type="module" attribute (default: `[]`) 60 */ 61 module?: ScriptMatchingPattern | undefined; 62 /** 63 * scripts that should have accompanying preload resource hints (default: `[]`) 64 */ 65 preload?: ScriptMatchingPatternPre | undefined; 66 /** 67 * scripts that should have accompanying prefetch resource hints (default: `[]`) 68 */ 69 prefetch?: ScriptMatchingPatternPre | undefined; 70 /** 71 * scripts that should have a custom attribute(s) added, the attribute(s), and the value(s) 72 */ 73 custom?: Custom | Custom[] | undefined; 74 } 75} 76
These definitions were written by Dave Cardwell.
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
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
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-07-07
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