Gathering detailed insights and metrics for gulp-ccr-postcss
Gathering detailed insights and metrics for gulp-ccr-postcss
Gathering detailed insights and metrics for gulp-ccr-postcss
Gathering detailed insights and metrics for gulp-ccr-postcss
Transforming styles with JS plugins. A cascading configurable gulp recipe for gulp-chef.
npm install gulp-ccr-postcss
Typescript
Module System
Node Version
NPM Version
29.1
Supply Chain
49.1
Quality
64.9
Maintenance
25
Vulnerability
95.6
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
11 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 02, 2016
Latest Version
0.1.4
Package Id
gulp-ccr-postcss@0.1.4
Size
3.18 kB
NPM Version
3.6.0
Node Version
5.7.0
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
1
Transforming styles with JS plugins. A cascading configurable gulp recipe for gulp-chef.
1npm install --save-dev "gulpjs/gulp#4.0" gulp-chef gulp-ccr-postcss
PostCSS
An array or an object of processors.
If an array, items must be pre-loaded processor function; or string, and gulp-ccr-postcss will load the processor without initializing it.
If an object, property name must be processor module name, and value be pre loaded processor function; or option value, and gulp-ccr-postcss will load the processor and initialize it with the option value if it is not falsy.
In all cases, you can omit "postcss-" prefix for module names.
If you are not inlining css files with postcss-import
, maybe you want to remove or replace file paths.
Options to generate sourcemaps. False to disable sourcemaps; True to generate inline sourcemaps; String to generate external sourcemaps at given dest folder.
Use a custom parser. Currently only supports "scss"
, note that the postcss-scss
plugin must be installed first.
Additional options to pass to postcss.
1$ npm install --save-dev "gulpjs/gulp#4.0" gulp-chef gulp-ccr-postcss postcss-cssnext cssnano precss
1var gulp = require('gulp'); 2var chef = require('gulp-chef'); 3 4var meals = chef({ 5 src: 'app/', 6 dest: 'dist/', 7 postcss: { 8 src: '**/*.css', 9 processors: { 10 cssnext: { 11 features: { 12 autoprefixer: { browsers: ['last 1 version'] } 13 } 14 }, 15 cssnano: { safe: true }, 16 precss: '' 17 }, 18 flatten: true, 19 sourcemaps: './' 20 } 21}); 22 23gulp.registry(meals);
This roughly do the same thing as the following normal gulp construct:
1$ npm install --save-dev "gulpjs/gulp#4.0" gulp-flatten gulp-sourcemaps gulp-if gulp-postcss postcss-cssnext cssnano precss
1var gulp = require('gulp'); 2var postcss = require('gulp-postcss'); 3var flatten = require('gulp-flatten'); 4var sourcemaps = require('gulp-sourcemaps'); 5var gulpif = require('gulp-if'); 6 7var config = { 8 dest: 'dist/', 9 styles: 'app/**/*.css', 10 flatten: true, 11 sourcemaps: './' 12}; 13 14var processors = [ 15 require('postcss-cssnext')({ 16 features: { 17 autoprefixer: { browsers: ['last 1 version'] } 18 } 19 }), 20 require('cssnano')({ safe: true }), 21 require('precss') 22]; 23 24function postcss() { 25 return gulp.src(config.styles) 26 .pipe(sourcemaps.init()) 27 .pipe(gulpif(config.flatten, flatten())) 28 .pipe(postcss(processors)) 29 .pipe(gulpif(config.sourcemaps, sourcemaps.write(config.sourcemaps))) 30 .pipe(gulp.dest(config.dest)); 31} 32 33gulp.task(postcss);
1$ npm install --save-dev "gulpjs/gulp#4.0" gulp-chef gulp-ccr-postcss postcss-scss cssnano
1var gulp = require('gulp'); 2var chef = require('gulp-chef'); 3 4var meals = chef({ 5 src: 'app/', 6 dest: 'dist/', 7 postcss: { 8 src: '**/*.scss', 9 processors: { 10 cssnano: { safe: true } 11 }, 12 syntax: 'scss', 13 sourcemaps: './' 14 } 15}); 16 17gulp.registry(meals);
Gulp-ccr-postcss can be used as a standalone function.
1var gulp = require('gulp'); 2var postcss = require('gulp-ccr-postcss'); 3 4function css() { 5 return postcss({ 6 src: 'app/**/*.css', 7 processors: { 8 cssnext: { 9 features: { 10 autoprefixer: { browsers: ['last 1 version'] } 11 } 12 }, 13 cssnano: { safe: true }, 14 precss: '', 15 }, 16 flatten: true, 17 sourcemaps: './' 18 }); 19} 20 21gulp.task(css);
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/11 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