1 | # Installation
|
2 | > `npm install --save @types/gulp-zip`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for gulp-zip (https://github.com/sindresorhus/gulp-zip).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-zip.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-zip/index.d.ts)
|
10 | ````ts
|
11 | /// <reference types="node" />
|
12 |
|
13 | declare namespace GulpZip {
|
14 | interface GulpZipOptions {
|
15 | /**
|
16 | * Compress
|
17 | * @default true
|
18 | */
|
19 | compress?: boolean | undefined;
|
20 |
|
21 | /**
|
22 | * Overrides the modification timestamp for all files added to the archive.
|
23 | *
|
24 | * Tip: Setting it to the same value across executions enables you to create stable archives
|
25 | * that change only when the contents of their entries change, regardless of whether those
|
26 | * entries were "touched" or regenerated.
|
27 | *
|
28 | * @default undefined
|
29 | */
|
30 | modifiedTime?: Date | undefined;
|
31 | }
|
32 | }
|
33 |
|
34 | declare function GulpZip(filename: string, options?: GulpZip.GulpZipOptions): NodeJS.ReadStream;
|
35 |
|
36 | export = GulpZip;
|
37 |
|
38 | ````
|
39 |
|
40 | ### Additional Details
|
41 | * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
|
42 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
43 |
|
44 | # Credits
|
45 | These definitions were written by [Louis Orleans](https://github.com/dudeofawesome), and [Robert Bullen](https://github.com/robertbullen).
|
46 |
|
\ | No newline at end of file |