4.0.4 • Published 6 months ago

@types/gulp-zip v4.0.4

Weekly downloads
7,034
License
MIT
Repository
github
Last release
6 months ago

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.

4.0.4

6 months ago

4.0.3

7 months ago

4.0.2

3 years ago

4.0.1

5 years ago

4.0.0

7 years ago