npm.io
0.0.36 • Published 2 years ago

@types/gulp-cached

Licence
MIT
Version
0.0.36
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/gulp-cached

Summary

This package contains type definitions for gulp-cached (https://github.com/wearefractal/gulp-cached).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-cached.

index.d.ts

/// <reference types="node"/>

interface ICacheStore {
    [name: string]: {};
}

interface IOptions {
    /**
     * Uses md5 instead of storing the whole file contents.
     * @default false
     */
    optimizeMemory?: boolean | undefined;
}

interface IGulpCached {
    /**
     * Creates a new cache hash or uses an existing one.
     */
    (name: string, options?: IOptions): NodeJS.ReadWriteStream;

    /**
     * Cache store.
     */
    caches: ICacheStore;
}

declare const cached: IGulpCached;
export = cached;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Thomas Corbière.