Naughty Platypus Memorabilia

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

    4.0.2 • Public • Published

    Installation

    npm install --save @types/gulp-zip

    Summary

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

    Details

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

    index.d.ts

    // Type definitions for gulp-zip 4.0
    // Project: https://github.com/sindresorhus/gulp-zip
    // Definitions by: Louis Orleans <https://github.com/dudeofawesome>
    //                 Robert Bullen <https://github.com/robertbullen>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    /// <reference types="node" />
    
    declare namespace GulpZip {
        interface GulpZipOptions {
            /**
             * Compress
             * @default true
             */
            compress?: boolean | undefined;
    
            /**
             * Overrides the modification timestamp for all files added to the archive.
             *
             * Tip: Setting it to the same value across executions enables you to create stable archives
             * that change only when the contents of their entries change, regardless of whether those
             * entries were "touched" or regenerated.
             *
             * @default undefined
             */
            modifiedTime?: Date | undefined;
        }
    }
    
    declare function GulpZip(filename: string, options?: GulpZip.GulpZipOptions): NodeJS.ReadStream;
    
    export = GulpZip;

    Additional Details

    • Last updated: Thu, 08 Jul 2021 14:22:36 GMT
    • Dependencies: @types/node
    • Global values: none

    Credits

    These definitions were written by Louis Orleans, and Robert Bullen.

    Keywords

    none

    Install

    npm i @types/gulp-zip

    DownloadsWeekly Downloads

    10,122

    Version

    4.0.2

    License

    MIT

    Unpacked Size

    5 kB

    Total Files

    4

    Last publish

    Collaborators

    • types