gulp-file-count
v1.0.3
Published
A gulp plugin to handle the count of files(filter out folders..)
Downloads
156
Maintainers
Readme
Usage
First, install gulp-file-count
as a development dependency:
> npm install --save-dev gulp-file-count
Then, add it to your gulpfile.js
:
var count = require('gulp-file-count');
gulp.task('copy', function() {
gulp.src('assets/**.*')
.pipe(gulp.dest('build'))
.pipe(count({
getFileCount: function(fileCount){
console.log(fileCount);
}
}));
});