Gathering detailed insights and metrics for gulp-minifier
Gathering detailed insights and metrics for gulp-minifier
Gathering detailed insights and metrics for gulp-minifier
Gathering detailed insights and metrics for gulp-minifier
npm install gulp-minifier
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
20 Stars
35 Commits
7 Forks
2 Watching
11 Branches
4 Contributors
Updated on 05 Apr 2023
Minified
Minified + Gzipped
JavaScript (47.5%)
CoffeeScript (37.54%)
HTML (13.71%)
CSS (1.25%)
Cumulative downloads
Total Downloads
Last day
0.4%
242
Compared to previous day
Last week
18%
1,376
Compared to previous week
Last month
25.3%
5,478
Compared to previous month
Last year
27.5%
53,541
Compared to previous year
3
Minify HTML, JS, CSS with html-minifier, terser, clean-css.
For example:
1var minify = require('gulp-minifier'); 2 3gulp.task('example', function() { 4 return gulp.src('example/src/**/*').pipe(minify({ 5 minify: true, 6 minifyHTML: { 7 collapseWhitespace: true, 8 conservativeCollapse: true, 9 }, 10 minifyJS: { 11 sourceMap: true 12 }, 13 minifyCSS: true, 14 getKeptComment: function (content, filePath) { 15 var m = content.match(/\/\*![\s\S]*?\*\//img); 16 return m && m.join('\n') + '\n' || ''; 17 } 18 })).pipe(gulp.dest('example/dest')); 19});
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/28 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
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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