# gulp-nop

> No operation

Latest version **0.0.3** (published 2014-05-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-nop
pnpm add gulp-nop
yarn add gulp-nop
bun add gulp-nop
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-05-23 |
| First published | 2014-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Marat Abdullin |
| Maintainers | hoho |
| Keywords | gulpplugin, nop, noop, nothing |

## Links

- npm: https://www.npmjs.com/package/gulp-nop
- Repository: https://github.com/hoho/gulp-nop
- Issues: https://github.com/hoho/gulp-nop/issues
- npm.io page: https://npm.io/package/gulp-nop

## Dependencies (2)

- [through](https://npm.io/package/through.md) ~2.3.4
- [gulp-util](https://npm.io/package/gulp-util.md) ~2.2.14

## Recent versions

- 0.0.3 (latest) — 2014-05-23
- 0.0.2 — 2014-05-23
- 0.0.1 — 2014-05-22

## README

# gulp-nop [![Build Status](https://travis-ci.org/hoho/gulp-nop.svg?branch=master)](https://travis-ci.org/hoho/gulp-nop)

«No operation». Useful when you want primitive conditional execution in a long
pipeline.

This plugin happened to exist just because `gulp` and `gulp-util` are two
different packages in different repositories and I've overlooked `noop()` from
`gulp-util` package. You probably should use `gulp-util`.

From the other side, it is a bit lighter than `gulp-util` package and if you
need just «no operation» from there, here it is.


Install:

```sh
npm install gulp-nop --save-dev
```


Example:

```js
var nop = require('gulp-nop');

gulp.task('some-task', function() {
    return gulp.src(['some files'])
        .pipe(some())
        .pipe(tasks())
        .pipe(along())
        .pipe(minify ? minified() : nop())
        .pipe(pipeline())
        .pipe(gulp.dest('./build'));
});
```

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