0.3.5 • Published 6 months ago
@types/gzip-js v0.3.5
Installation
npm install --save @types/gzip-js
Summary
This package contains type definitions for gzip-js (https://github.com/beatgammit/gzip-js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gzip-js.
index.d.ts
// Type definitions for gzip-js 0.3
// Project: https://github.com/beatgammit/gzip-js
// Definitions by: rhysd <https://github.com/rhysd>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/// <reference types="node" />
export interface ZipOptions {
level?: number | undefined;
name?: string | undefined;
timestamp?: number | undefined;
}
export function zip(data: string | number[] | Buffer | Uint8Array, opts?: ZipOptions): number[];
export function unzip(data: number[] | Buffer | Uint8Array): number[];
export const DEFAULT_LEVEL: number;
Additional Details
- Last updated: Thu, 08 Jul 2021 14:22:37 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by rhysd.