npm.io
4.0.4 • Published 2 years ago

@types/gulp-zip

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

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

/// <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: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/node

Credits

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