0.0.38 • Published 6 months ago

@types/gulp-cheerio v0.0.38

Weekly downloads
405
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for gulp-cheerio
// Project: https://github.com/KenPowers/gulp-cheerio
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

Credits

These definitions were written by Qubo.

0.0.36

8 months ago

0.0.37

7 months ago

0.0.38

6 months ago

0.0.35

1 year ago

0.0.34

3 years ago

0.0.33

4 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

8 years ago

0.0.29

8 years ago

0.0.28-alpha

8 years ago

0.0.26-alpha

8 years ago

0.0.25-alpha

8 years ago

0.0.24-alpha

8 years ago

0.0.23-alpha

8 years ago

0.0.22-alpha

8 years ago

0.0.21-alpha

8 years ago

0.0.16-alpha

8 years ago

0.0.15-alpha

8 years ago