UNPKG

@types/node-gzip

Version:
28 lines (19 loc) 918 B
# Installation > `npm install --save @types/node-gzip` # Summary This package contains type definitions for node-gzip (https://github.com/Rebsos/node-gzip#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-gzip. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-gzip/index.d.ts) ````ts // TypeScript Version: 2.1 /// <reference types="node" /> import { InputType, ZlibOptions } from "zlib"; export function gzip(input: InputType, options?: ZlibOptions): Promise<Buffer>; export function ungzip(input: InputType, options?: ZlibOptions): Promise<Buffer>; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:39 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [mike castleman](https://github.com/mlc).