Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gulp-analyze-css

jimmy-collazos6.1kMIT0.1.0

Gulp plugin that analyze your css with analyze-css and compare the results to a user-defined benchmark

gulp, gulp plugin, analyze-css, css

readme

gulp-analyze-css

analyze-css plugin for gulp

Gulp plugin that analyze your css with analyze-css and compare the results to a user-defined benchmark.

Usage

First, install gulp-analyze-css as a development dependency:

npm install --save-dev gulp-analyze-css

When you need proccess Object result of analyze:

var analyzeCss = require("gulp-analyze-css");

gulp.src("./src/*.css")
    .pipe(analyzeCss())
    .pipe(myTaskProccessResult());

If you need export result of analyze (JSON format) and need same source file in next pipe:

var analyzeCss = require("gulp-analyze-css");

gulp.src("./src/*.css")
    .pipe(analyzeCss({ outDiretory: "./dist" }))
    .pipe(myCssTask());

License

MIT License