@types/gulp-plumber
TypeScript definitions for gulp-plumber
Last updated 10 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/gulp-plumber 
SYNC missed versions from official npm registry.

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

/// <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

Credits

These definitions were written by Joe Skeen.

Current Tags

  • 0.0.37                                ...           latest (2 years ago)
  • 0.0.32                                ...           ts2.0 (8 years ago)
  • 0.0.32                                ...           ts2.1 (8 years ago)
  • 0.0.32                                ...           ts2.2 (8 years ago)
  • 0.0.32                                ...           ts2.3 (8 years ago)
  • 0.0.32                                ...           ts2.4 (8 years ago)
  • 0.0.32                                ...           ts2.5 (8 years ago)
  • 0.0.32                                ...           ts2.6 (8 years ago)
  • 0.0.32                                ...           ts2.7 (8 years ago)
  • 0.0.32                                ...           ts2.8 (8 years ago)
  • 0.0.32                                ...           ts2.9 (8 years ago)
  • 0.0.32                                ...           ts3.0 (8 years ago)
  • 0.0.32                                ...           ts3.1 (8 years ago)
  • 0.0.32                                ...           ts3.2 (8 years ago)
  • 0.0.32                                ...           ts3.3 (8 years ago)
  • 0.0.32                                ...           ts3.4 (8 years ago)
  • 0.0.32                                ...           ts3.5 (8 years ago)
  • 0.0.33                                ...           ts3.6 (5 years ago)
  • 0.0.33                                ...           ts3.7 (5 years ago)
  • 0.0.33                                ...           ts3.8 (5 years ago)
  • 0.0.33                                ...           ts3.9 (5 years ago)
  • 0.0.33                                ...           ts4.0 (5 years ago)
  • 0.0.33                                ...           ts4.1 (5 years ago)
  • 0.0.33                                ...           ts4.2 (5 years ago)
  • 0.0.34                                ...           ts4.3 (3 years ago)
  • 0.0.34                                ...           ts4.4 (3 years ago)
  • 0.0.37                                ...           ts4.5 (2 years ago)
  • 0.0.37                                ...           ts4.6 (2 years ago)
  • 0.0.37                                ...           ts4.7 (2 years ago)
  • 0.0.37                                ...           ts4.8 (2 years ago)
  • 0.0.37                                ...           ts4.9 (2 years ago)
  • 0.0.37                                ...           ts5.0 (2 years ago)
  • 0.0.37                                ...           ts5.1 (2 years ago)
  • 0.0.37                                ...           ts5.2 (2 years ago)
  • 0.0.37                                ...           ts5.3 (2 years ago)
  • 0.0.37                                ...           ts5.4 (2 years ago)
  • 0.0.37                                ...           ts5.5 (2 years ago)
  • 0.0.37                                ...           ts5.6 (2 years ago)
  • 0.0.37                                ...           ts5.7 (2 years ago)
  • 0.0.37                                ...           ts5.8 (2 years ago)
  • 0.0.37                                ...           ts5.9 (2 years ago)

19 Versions

  • 0.0.37                                ...           2 years ago
  • 0.0.36                                ...           2 years ago
  • 0.0.35                                ...           3 years ago
  • 0.0.34                                ...           3 years ago
  • 0.0.33                                ...           5 years ago
  • 0.0.32                                ...           8 years ago
  • 0.0.31                                ...           9 years ago
  • 0.0.30                                ...           9 years ago
  • 0.0.29                                ...           10 years ago
  • 0.0.28                                ...           10 years ago
  • 0.0.27-alpha                                ...           10 years ago
  • 0.0.26-alpha                                ...           10 years ago
  • 0.0.25-alpha                                ...           10 years ago
  • 0.0.24-alpha                                ...           10 years ago
  • 0.0.23-alpha                                ...           10 years ago
  • 0.0.22-alpha                                ...           10 years ago
  • 0.0.21-alpha                                ...           10 years ago
  • 0.0.16-alpha                                ...           10 years ago
  • 0.0.15-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |