# @types/gzip-js

> TypeScript definitions for gzip-js

Latest version **0.3.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/gzip-js
pnpm add @types/gzip-js
yarn add @types/gzip-js
bun add @types/gzip-js
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.5 |
| Published | 2023-11-07 |
| First published | 2018-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/gzip-js
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gzip-js
- npm.io page: https://npm.io/package/@types/gzip-js

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 0.3.5 (latest) — 2023-11-07
- 0.3.3 (ts3.6) — 2021-07-08
- 0.3.2 (ts3.3) — 2020-12-26
- 0.3.1 (ts2.1) — 2018-01-11
- 0.3.0 (ts2.0) — 2018-01-08
- 0.3.4 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gzip-js/index.d.ts)
````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](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [rhysd](https://github.com/rhysd).

---
_Source: https://npm.io/package/@types/gzip-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
