UNPKG

@types/gulp-zip

Version:
46 lines (36 loc) 1.48 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-zip/index.d.ts) ````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](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Louis Orleans](https://github.com/dudeofawesome), and [Robert Bullen](https://github.com/robertbullen).