@types/gulp-remember
TypeScript icon, indicating that this package has built-in type declarations

0.0.35 • Public • Published

Installation

npm install --save @types/gulp-remember

Summary

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

Details

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

index.d.ts

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

interface ICache {
    [path: string]: NodeJS.ReadWriteStream;
}

interface IGulpRemember {
    /**
     * Return a through stream that will:
     *   1. Remember all files that ever pass through it.
     *   2. Add all remembered files back into the stream when not present.
     * @param cacheName Name to give your cache
     */
    (cacheName?: string): NodeJS.ReadWriteStream;

    /**
     * Forget about a file.
     * A warning is logged if either the named cache or file do not exist.
     * @param path Path of the file to forget
     */
    forget(path: string): void;

    /**
     * Forget about a file.
     * A warning is logged if either the named cache or file do not exist.
     * @param cacheName Name of the cache from which to drop the file
     * @param path Path of the file to forget
     */
    forget(cacheName: string, path: string): void;

    /**
     * Forget all files in one cache.
     * A warning is logged if the cache does not exist.
     *
     * @param cacheName Name of the cache to wipe
     */
    forgetAll(cacheName?: string): void;

    /**
     * Return a raw cache by name.
     * Useful for checking state. Manually adding or removing files is NOT recommended.
     *
     * @param cacheName Name of the cache to retrieve
     */
    cacheFor(cacheName?: string): ICache;
}

declare const remember: IGulpRemember;
export = remember;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Thomas Corbière.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.35433ts5.8
0.0.35433ts5.7
0.0.35433latest
0.0.35433ts4.5
0.0.35433ts4.6
0.0.35433ts4.7
0.0.35433ts4.8
0.0.35433ts4.9
0.0.35433ts5.0
0.0.35433ts5.1
0.0.35433ts5.2
0.0.35433ts5.3
0.0.35433ts5.4
0.0.35433ts5.5
0.0.35433ts5.9
0.0.35433ts5.6
0.0.35433ts6.0
0.0.3185ts2.0
0.0.3185ts2.1
0.0.3185ts2.2
0.0.3185ts2.3
0.0.3185ts2.4
0.0.3185ts2.5
0.0.3185ts2.6
0.0.3185ts2.7
0.0.3185ts2.8
0.0.3185ts2.9
0.0.3185ts3.0
0.0.3185ts3.1
0.0.3185ts3.2
0.0.3185ts3.3
0.0.3185ts3.4
0.0.3185ts3.5
0.0.3185ts3.6
0.0.3185ts3.7
0.0.3185ts3.8
0.0.3185ts3.9
0.0.3185ts4.0
0.0.3185ts4.1
0.0.3185ts4.2
0.0.321ts4.3
0.0.321ts4.4

Version History

VersionDownloads (Last 7 Days)Published
0.0.35433
0.0.341
0.0.331
0.0.321
0.0.3185
0.0.301
0.0.290
0.0.280
0.0.27-alpha1
0.0.26-alpha0
0.0.25-alpha0
0.0.24-alpha0
0.0.23-alpha1
0.0.22-alpha1
0.0.21-alpha1
0.0.16-alpha1
0.0.15-alpha0

Package Sidebar

Install

npm i @types/gulp-remember

Weekly Downloads

453

Version

0.0.35

License

MIT

Unpacked Size

5.48 kB

Total Files

5

Last publish

Collaborators

  • types