Gathering detailed insights and metrics for @types/optimize-css-assets-webpack-plugin
Gathering detailed insights and metrics for @types/optimize-css-assets-webpack-plugin
Gathering detailed insights and metrics for @types/optimize-css-assets-webpack-plugin
Gathering detailed insights and metrics for @types/optimize-css-assets-webpack-plugin
The repository for high quality TypeScript type definitions.
npm install @types/optimize-css-assets-webpack-plugin
Typescript
Module System
98.8
Supply Chain
85.5
Quality
75.6
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
74,256,113
Last Day
43,462
Last Week
200,404
Last Month
1,008,181
Last Year
11,864,630
NOASSERTION License
49,690 Stars
89,330 Commits
30,386 Forks
641 Watchers
6 Branches
9,955 Contributors
Updated on May 07, 2025
Latest Version
5.0.8
Package Id
@types/optimize-css-assets-webpack-plugin@5.0.8
Unpacked Size
6.30 kB
Size
2.14 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
-3.3%
43,462
Compared to previous day
Last Week
-16.3%
200,404
Compared to previous week
Last Month
3%
1,008,181
Compared to previous month
Last Year
-10.2%
11,864,630
Compared to previous year
1
npm install --save @types/optimize-css-assets-webpack-plugin
This package contains type definitions for optimize-css-assets-webpack-plugin (https://github.com/nmfr/optimize-css-assets-webpack-plugin).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/optimize-css-assets-webpack-plugin.
1import { Compiler, WebpackPluginInstance as Plugin } from "webpack"; 2 3export = OptimizeCssAssetsPlugin; 4 5declare namespace OptimizeCssAssetsPlugin { 6 interface Options { 7 /** 8 * A regular expression that indicates the names of the assets that should 9 * be optimized \ minimized. The regular expression provided is run against 10 * the filenames of the files exported by the `ExtractTextPlugin` instances 11 * in your configuration, not the filenames of your source CSS files 12 * 13 * @default /\.css$/g 14 */ 15 assetNameRegExp?: RegExp | undefined; 16 /** 17 * The CSS processor used to optimize \ minimize the CSS. This should be a 18 * function that follows `cssnano.process` interface (receives a CSS and 19 * options parameters and returns a Promise). 20 * 21 * @default cssnano 22 */ 23 cssProcessor?: { 24 process: (css: string, options?: object) => PromiseLike<any>; 25 } | undefined; 26 /** 27 * The options passed to the `cssProcessor`. 28 * 29 * @default {} 30 */ 31 cssProcessorOptions?: object | undefined; 32 /** 33 * The plugin options passed to the `cssProcessor`. 34 * 35 * @default {} 36 */ 37 cssProcessorPluginOptions?: object | undefined; 38 /** 39 * A boolean indicating if the plugin can print messages to the console. 40 * 41 * @default true 42 */ 43 canPrint?: boolean | undefined; 44 } 45} 46 47declare class OptimizeCssAssetsPlugin implements Plugin { 48 constructor(options?: OptimizeCssAssetsPlugin.Options); 49 apply(compiler: Compiler): void; 50} 51
These definitions were written by Armando Meziat, and Spencer Miskoviak.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 0 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
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-05-05
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