# compress-commons

> a library that defines a common interface for working with archive formats within node

Latest version **7.0.1** (published 2026-05-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install compress-commons
pnpm add compress-commons
yarn add compress-commons
bun add compress-commons
```

## Health

**Score 68/100 (B)** — status: active.

Positive: has types package; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 7.0.1 |
| Published | 2026-05-08 |
| First published | 2014-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/compress-commons) |
| Module format | ESM |
| Node | >=18 |
| Dependencies | 5 |
| Unpacked size | 30.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 16 |
| Author | Chris Talkington |
| Maintainers | ctalkington |
| Keywords | compress, commons, archive |

## Links

- npm: https://www.npmjs.com/package/compress-commons
- Repository: https://github.com/archiverjs/node-compress-commons
- Issues: https://github.com/archiverjs/node-compress-commons/issues
- npm.io page: https://npm.io/package/compress-commons

## Dependencies (5)

- [crc-32](https://npm.io/package/crc-32.md) ^1.2.0
- [is-stream](https://npm.io/package/is-stream.md) ^4.0.0
- [crc32-stream](https://npm.io/package/crc32-stream.md) ^7.0.1
- [normalize-path](https://npm.io/package/normalize-path.md) ^3.0.0
- [readable-stream](https://npm.io/package/readable-stream.md) ^4.0.0

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

- 7.0.1 (latest) — 2026-05-08
- 7.0.0 — 2024-10-14
- 6.0.2 — 2024-03-10
- 6.0.1 — 2024-02-29
- 6.0.0 — 2024-02-27
- 5.0.3 — 2024-02-27
- 5.0.1 — 2023-09-03
- 5.0.0 — 2023-09-02
- 4.1.2 — 2023-09-02
- 4.1.1 — 2021-05-30
- 4.1.0 — 2021-03-03
- 4.0.2 — 2020-11-19
- 4.0.1 — 2020-07-21
- 4.0.0 — 2020-07-18
- 3.0.0 — 2020-04-14
- … 30 more at https://npm.io/package/compress-commons/versions

## README

# Compress Commons

Compress Commons is a library that defines a common interface for working with archive formats within node.

[![NPM](https://nodei.co/npm/compress-commons.png)](https://nodei.co/npm/compress-commons/)

## Install

```bash
npm install compress-commons --save
```

You can also use `npm install https://github.com/archiverjs/node-compress-commons/archive/master.tar.gz` to test upcoming versions.

## Things of Interest

- [Changelog](https://github.com/archiverjs/node-compress-commons/releases)
- [Contributing](https://github.com/archiverjs/node-compress-commons/blob/master/CONTRIBUTING.md)
- [MIT License](https://github.com/archiverjs/node-compress-commons/blob/master/LICENSE-MIT)

## Credits

Concept inspired by [Apache Commons Compress](http://commons.apache.org/proper/commons-compress/)&trade;.

Some logic derived from [Apache Commons Compress](http://commons.apache.org/proper/commons-compress/)&trade; and [OpenJDK 7](http://openjdk.java.net/).

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