# gulp-pipe-fn

> Invoke a function in gulp.pipe

Latest version **1.0.6** (published 2017-06-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-pipe-fn
pnpm add gulp-pipe-fn
yarn add gulp-pipe-fn
bun add gulp-pipe-fn
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2017-06-15 |
| First published | 2017-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Saff Soobratty |
| Maintainers | saff |
| Keywords | function, gulp, gulp-fn, gulp-function |

## Links

- npm: https://www.npmjs.com/package/gulp-pipe-fn
- Repository: https://github.com/detectivequack/gulp-pipe-fn
- Homepage: https://github.com/detectivequack/gulp-pipe-fn#readme
- Issues: https://github.com/detectivequack/gulp-pipe-fn/issues
- npm.io page: https://npm.io/package/gulp-pipe-fn

## Dependencies (3)

- [gulp](https://npm.io/package/gulp.md) ^3.9.1
- [through2](https://npm.io/package/through2.md) ^2.0.3
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.8

## Recent versions

- 1.0.6 (latest) — 2017-06-15
- 1.0.5 — 2017-02-09
- 1.0.4 — 2017-01-11
- 1.0.3 — 2017-01-10
- 1.0.2 — 2017-01-10
- 1.0.1 — 2017-01-10
- 1.0.0 — 2017-01-10

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

---
_Source: https://npm.io/package/gulp-pipe-fn · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
