# @types/gulp-plumber

> TypeScript definitions for gulp-plumber

Latest version **0.0.37** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/gulp-plumber
pnpm add @types/gulp-plumber
yarn add @types/gulp-plumber
bun add @types/gulp-plumber
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.37 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/gulp-plumber
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-plumber
- npm.io page: https://npm.io/package/@types/gulp-plumber

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 0.0.37 (latest) — 2023-11-07
- 0.0.34 (ts4.3) — 2023-05-10
- 0.0.33 (ts3.6) — 2021-07-08
- 0.0.32 (ts2.0) — 2017-11-09
- 0.0.36 — 2023-10-18
- 0.0.35 — 2023-09-20
- 0.0.31 — 2017-08-21
- 0.0.30 — 2017-03-16
- 0.0.29 — 2016-09-19
- 0.0.28 — 2016-07-14
- 0.0.27-alpha — 2016-07-08
- 0.0.26-alpha — 2016-07-04
- 0.0.25-alpha — 2016-07-02
- 0.0.24-alpha — 2016-07-01
- 0.0.23-alpha — 2016-07-01
- … 4 more at https://npm.io/package/@types/gulp-plumber/versions

## README

# Installation
> `npm install --save @types/gulp-plumber`

# Summary
This package contains type definitions for gulp-plumber (https://github.com/floatdrop/gulp-plumber).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-plumber.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-plumber/index.d.ts)
````ts
/// <reference types="node" />

/** Prevent pipe breaking caused by errors from gulp plugins */

/** Prevent pipe breaking caused by errors from gulp plugins */
interface GulpPlumber {
    /**
     * Returns Stream, that fixes pipe methods on Streams that are next in pipeline.
     *
     * @param options Sets options as described in the Options interface
     */
    (options?: Options): NodeJS.ReadWriteStream;
    /**
     * Returns Stream, that fixes pipe methods on Streams that are next in pipeline.
     *
     * @param errorHandler the function to be attached to the stream on('error')
     */
    (errorHandler: ErrorHandlerFunction): NodeJS.ReadWriteStream;
    /** returns default behaviour for pipeline after it was piped */
    stop(): NodeJS.ReadWriteStream;
}

interface Options {
    /**
     * Handle errors in underlying streams and output them to console. Default true.
     * If function passed, it will be attached to stream on('error')
     * If false passed, error handler will not be attached
     * If undefined passed, default error handler will be attached
     */
    errorHandler?: ErrorHandlerFunction | boolean | undefined;
    /** Monkeypatch pipe functions in underlying streams in pipeline. Default true. */
    inherit?: boolean | undefined;
}

/** an error handler function to be attached to the stream on('error') */
interface ErrorHandlerFunction {
    /** an error handler function to be attached to the stream on('error') */
    (error: any): void;
}

/** Prevent pipe breaking caused by errors from gulp plugins */
declare var gulpPlumber: GulpPlumber;

export = gulpPlumber;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Joe Skeen](https://github.com/joeskeen).

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