@types/gzip-js
TypeScript icon, indicating that this package has built-in type declarations

0.3.5 • Public • Published

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

/// <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: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by rhysd.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gzip-js

Weekly Downloads

2,161

Version

0.3.5

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • types