npm.io
1.1.3 • Published 2 years ago

@types/node-gzip

Licence
MIT
Version
1.1.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

// 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 0939 GMT
  • Dependencies: @types/node

Credits

These definitions were written by mike castleman.