https://github.com/detectivequack/gulp-pipe-fn
Pipe a function in gulp
https://github.com/detectivequack/gulp-pipe-fn
Last synced: 3 months ago
JSON representation
Pipe a function in gulp
- Host: GitHub
- URL: https://github.com/detectivequack/gulp-pipe-fn
- Owner: DetectiveQuack
- License: mit
- Created: 2017-01-10T11:05:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-15T21:18:36.000Z (almost 8 years ago)
- Last Synced: 2025-02-16T11:56:02.175Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Invoke a function in a gulp.pipe.
# Usage
```javascript
const gulp = require('gulp'),
gulpPipeFn = require('gulp-pipe-fn');gulp.task('default', () => {
return gulp.src(['./*'])
.pipe(gulpPipeFn((file, enc) => { console.log(file, enc) }));
});
```