# @types/gulp-cheerio

> TypeScript definitions for gulp-cheerio

Latest version **0.0.39** (published 2025-05-05) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 55/100 (C)** — status: stable.

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

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.0.39 |
| Published | 2025-05-05 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

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

## Dependencies (3)

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

## Recent versions

- 0.0.39 (latest) — 2025-05-05
- 0.0.38 (ts4.5) — 2023-11-07
- 0.0.35 (ts4.4) — 2023-05-10
- 0.0.34 (ts3.6) — 2021-07-08
- 0.0.33 (ts3.2) — 2020-09-23
- 0.0.32 (ts3.0) — 2017-11-08
- 0.0.37 — 2023-10-18
- 0.0.36 — 2023-09-20
- 0.0.31 — 2017-03-16
- 0.0.30 — 2016-09-19
- 0.0.29 — 2016-07-14
- 0.0.28-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
- … 5 more at https://npm.io/package/@types/gulp-cheerio/versions

## README

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

import Vinyl = require("vinyl");
import cheerio = require("cheerio");

declare namespace gulpCheerio {
    interface GulpCheerio {
        (callback: Callback): NodeJS.ReadWriteStream;
        (option: Option): NodeJS.ReadWriteStream;
    }

    interface Callback {
        ($: cheerio.Root, file: Vinyl, done?: Function): any;
    }

    interface Option {
        run?: Callback | undefined;
        parserOptions?: cheerio.CheerioParserOptions | undefined;
        cheerio?: cheerio.Root | undefined;
    }
}

declare var gulpCheerio: gulpCheerio.GulpCheerio;

export = gulpCheerio;

````

### Additional Details
 * Last updated: Mon, 05 May 2025 19:32:26 GMT
 * Dependencies: [@types/cheerio](https://npmjs.com/package/@types/cheerio), [@types/node](https://npmjs.com/package/@types/node), [@types/vinyl](https://npmjs.com/package/@types/vinyl)

# Credits
These definitions were written by [Qubo](https://github.com/tkQubo).

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