# @xhmikosr/decompress-unzip

> decompress zip plugin

Latest version **8.2.1** (published 2026-06-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @xhmikosr/decompress-unzip
pnpm add @xhmikosr/decompress-unzip
yarn add @xhmikosr/decompress-unzip
bun add @xhmikosr/decompress-unzip
```

## Health

**Score 55/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 8.2.1 |
| Published | 2026-06-12 |
| First published | 2023-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 3 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kevin Mårtensson |
| Maintainers | xhmikosr |
| Keywords | decompress, decompressplugin, extract, zip |

## Links

- npm: https://www.npmjs.com/package/@xhmikosr/decompress-unzip
- Repository: https://github.com/XhmikosR/decompress-unzip
- Homepage: https://github.com/XhmikosR/decompress-unzip#readme
- Issues: https://github.com/XhmikosR/decompress-unzip/issues
- npm.io page: https://npm.io/package/@xhmikosr/decompress-unzip

## Dependencies (3)

- [yauzl](https://npm.io/package/yauzl.md) ^3.4.0
- [file-type](https://npm.io/package/file-type.md) ^21.3.4
- [get-stream](https://npm.io/package/get-stream.md) ^9.0.1

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 8.2.1 (latest) — 2026-06-12
- 8.2.0 — 2026-06-08
- 8.1.1 — 2026-05-01
- 8.1.0 — 2026-02-28
- 8.0.1 — 2026-02-27
- 8.0.0 — 2026-02-24
- 7.1.0 — 2025-07-22
- 7.0.0 — 2024-04-01
- 6.0.0 — 2023-06-05
- 5.0.1 — 2023-05-31
- 5.0.0 — 2023-05-31

## README

# @xhmikosr/decompress-unzip [![npm version](https://img.shields.io/npm/v/@xhmikosr/decompress-unzip?logo=npm&logoColor=fff)](https://www.npmjs.com/package/@xhmikosr/decompress-unzip) [![CI Status](https://img.shields.io/github/actions/workflow/status/XhmikosR/decompress-unzip/ci.yml?branch=master&label=CI&logo=github)](https://github.com/XhmikosR/decompress-unzip/actions/workflows/ci.yml?query=branch%3Amaster)

> zip decompress plugin


## Install

```sh
npm install @xhmikosr/decompress-unzip
```


## Usage

```js
import decompress from '@xhmikosr/decompress';
import decompressUnzip from '@xhmikosr/decompress-unzip';

decompress('unicorn.zip', 'dist', {
	plugins: [
		decompressUnzip()
	]
}).then(() => {
	console.log('Files decompressed');
});
```


## API

### decompressUnzip()(buf)

#### buf

Type: `Buffer`

Buffer to decompress.


## License

MIT © [Kevin Mårtensson](https://github.com/kevva)

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