# @types/gulp-diff

> TypeScript definitions for gulp-diff

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

## Install

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

## Health

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

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2023-11-07 |
| First published | 2017-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51393 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.0.5 (latest) — 2023-11-07
- 1.0.2 (ts4.3) — 2023-05-10
- 1.0.1 (ts3.6) — 2021-07-08
- 1.0.0 (ts2.0) — 2017-07-17
- 1.0.4 — 2023-10-18
- 1.0.3 — 2023-09-20

## README

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

import stream = require("stream");

/**
 * Gulp task to diff files in the stream against a destination.
 * @param dest target directory to diff against, defaults to diff against original source file
 */
declare function gulp_diff(dest?: string): stream.Transform;

declare namespace gulp_diff {
    const diff: typeof gulp_diff;

    function reporter(opts?: ReporterOptions): stream.Transform;
    interface ReporterOptions {
        /**
         * do not show diff information, defaults to `false`
         */
        quiet?: boolean | undefined;
        /**
         * emit an error on finding diffs, defaults to `false`
         */
        fail?: boolean | undefined;
    }
}

export = gulp_diff;

````

### 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 [Ika](https://github.com/ikatyang).

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