gulp-pipe-fn

1.0.6 • Public • Published

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

Package Sidebar

Install

npm i gulp-pipe-fn

Weekly Downloads

2

Version

1.0.6

License

MIT

Last publish

Collaborators

  • saff