1.0.3 • Published 7 years ago

gulp-file-count v1.0.3

Weekly downloads
221
License
MIT
Repository
github
Last release
7 years ago

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);
            }
        }));
});