Gathering detailed insights and metrics for gulp-css-condense
Gathering detailed insights and metrics for gulp-css-condense
Gathering detailed insights and metrics for gulp-css-condense
Gathering detailed insights and metrics for gulp-css-condense
npm install gulp-css-condense
Typescript
Module System
Node Version
NPM Version
JavaScript (94.42%)
CSS (5.58%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Stars
8 Commits
1 Branches
1 Contributors
Updated on May 09, 2018
Latest Version
1.1.2
Package Id
gulp-css-condense@1.1.2
Size
2.34 kB
NPM Version
2.1.11
Node Version
0.10.33
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
2
5
A gulp plugin for the CSS compressor that shows no mercy.
If you have any difficulties with the output of this plugin, please use the css-condense tracker.
Install via npm:
npm install gulp-css-condense --save-dev
1var gulp = require('gulp'); 2var cssc = require('gulp-css-condense'); 3 4gulp.task('default', function() { 5 return gulp.src('./main.css') 6 .pipe(cssc()) 7 .pipe(gulp.dest('./out')); 8});
Type: Boolean
If this is set to true
, css-condense will not perform optimisations such as
selector and declaration consolidation (the docs have more information).
Note that you can also choose which optimisations that you deem to be fit for
your build by passing them individually:
1var gulp = require('gulp'); 2var cssc = require('gulp-css-condense'); 3 4gulp.task('default', function() { 5 return gulp.src('./main.css') 6 .pipe(cssc({ 7 consolidateViaDeclarations: true, 8 consolidateViaSelectors: false, 9 consolidateMediaQueries: true 10 })) 11 .pipe(gulp.dest('./out')); 12});
options.safe
is just a convenience for specifying all of the above options as
false
.
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
MIT © Ben Briggs
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/8 approved changesets -- score normalized to 0
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
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