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

/gulp-pipe-fn/

    Package Sidebar

    Install

    npm i gulp-pipe-fn

    Weekly Downloads

    1

    Version

    1.0.6

    License

    MIT

    Last publish

    Collaborators

    • saff