0.0.36 • Published 2 years ago

@types/gulp-gzip v0.0.36

Weekly downloads
24,845
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/gulp-gzip

Summary

This package contains type definitions for gulp-gzip (https://github.com/jstuckey/gulp-gzip).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-gzip.

index.d.ts

// Type definitions for gulp-gzip
// Project: https://github.com/jstuckey/gulp-gzip
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />


import zlib = require('zlib');

declare namespace gzip {
    interface Gzip {
        (options?: Options): NodeJS.ReadWriteStream;
    }

    interface Options {
        /**
         * Appends .gz file extension if true.
         * @default true
         */
        append?: boolean | undefined;
        /**
         * Appends an arbitrary extension to the filename. Disables append and preExtension options.
         */
        extension?: string | undefined;
        /**
         * Appends an arbitrary pre-extension to the filename. Disables append and extension options.
         */
        preExtension?: string | undefined;
        /**
         * Minimum size required to compress a file.
         * @default false
         */
        threshold?: number | string | boolean | undefined;
        /**
         * Options object to pass through to zlib.Gzip.
         * See <a href='https://nodejs.org/api/zlib.html#zlib_options'>zlib</a> documentation for more information.
         */
        gzipOptions?: zlib.ZlibOptions | undefined;
    }
}

declare var gzip: gzip.Gzip;

export = gzip;

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:02:37 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Qubo.

0.0.34

2 years ago

0.0.35

2 years ago

0.0.36

2 years ago

0.0.33

2 years ago

0.0.32

4 years ago

0.0.31

8 years ago

0.0.30

8 years ago

0.0.29

9 years ago

0.0.28

9 years ago

0.0.27-alpha

9 years ago

0.0.26-alpha

9 years ago

0.0.25-alpha

9 years ago

0.0.24-alpha

9 years ago

0.0.23-alpha

9 years ago

0.0.22-alpha

9 years ago

0.0.21-alpha

9 years ago

0.0.16-alpha

9 years ago

0.0.15-alpha

9 years ago