gulp-pipe-fn
v1.0.6
Published
Invoke a function in gulp.pipe
Downloads
4
Maintainers
Readme
Invoke a function in a gulp.pipe.
Usage
const gulp = require('gulp'),
gulpPipeFn = require('gulp-pipe-fn');
gulp.task('default', () => {
return gulp.src(['./*'])
.pipe(gulpPipeFn((file, enc) => { console.log(file, enc) }));
});