Install via npm:
npm install gulp-stylestats --save-dev
This is gulpfile.js
sample.
var gulp = require('gulp');
var stylestats = require('gulp-stylestats');
gulp.task('stylestats', function () {
gulp.src('./fixtures/*.css')
.pipe(stylestats());
});
gulp.task('default', ['stylestats']);