# un-gzip

> A typescript solution for decompressing gzip files

Latest version **1.0.2** (published 2022-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install un-gzip
pnpm add un-gzip
yarn add un-gzip
bun add un-gzip
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-11-17 |
| First published | 2022-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Figliolia |
| Maintainers | alexfigliolia |
| Keywords | compression, gzip, files |

## Links

- npm: https://www.npmjs.com/package/un-gzip
- Repository: https://github.com/alexfigliolia/un-gzip
- Homepage: https://github.com/alexfigliolia/un-gzip#readme
- Issues: https://github.com/alexfigliolia/un-gzip/issues
- npm.io page: https://npm.io/package/un-gzip

## 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

- 1.0.2 (latest) — 2022-11-17
- 1.0.1 — 2022-11-17
- 1.0.0 — 2022-11-17

## README

# un-gzip

Extract a source .gz archive to a specified destination file.

```
npm install un-gzip
```

## Usage

Pass a source `.gz` file and a destination file and the `.gz` will be extracted to the target file.

``` js
import { unzip } from 'un-gzip'

unzip('example.json.gz', 'example.json');
```

Additionally, you can pass a callback that will be executed when the extraction has completed.

``` js
unzip('example.json.gz', 'example.json', function() {
	console.log('This is called when the extraction is completed.');
});
```

## License

MIT

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