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

4.0.4 • 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

/// <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 03:09:37 GMT
  • Dependencies: @types/node

Credits

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

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-zip

Weekly Downloads

22,462

Version

4.0.4

License

MIT

Unpacked Size

4.39 kB

Total Files

5

Last publish

Collaborators

  • types