# tar-utils

> A collection of utilities which expose oft-used patterns when working with tar archives in node

Latest version **3.1.2** (published 2026-02-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install tar-utils
pnpm add tar-utils
yarn add tar-utils
bun add tar-utils
```

## Health

**Score 60/100 (C)** — status: stable.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.1.2 |
| Published | 2026-02-19 |
| First published | 2017-05-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16.13.0 |
| Dependencies | 1 |
| Unpacked size | 203.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Cameron Diver |
| Maintainers | balena.io |

## Links

- npm: https://www.npmjs.com/package/tar-utils
- Repository: https://github.com/balena-io-modules/node-tar-utils
- Homepage: https://github.com/resin-io-modules/node-tar-utils#readme
- Issues: https://github.com/resin-io-modules/node-tar-utils/issues
- npm.io page: https://npm.io/package/tar-utils

## Dependencies (1)

- [tar-stream](https://npm.io/package/tar-stream.md) ^3.1.6

## Recent versions

- 3.1.2 (latest) — 2026-02-19
- 3.1.2-build-add-npm-oidc-permissions-3e260b28ac04e73d33c2f4ef9d2a5c17bb36efaa-1 (build-add-npm-oidc-permissions) — 2026-02-19
- 3.1.1-build-pipeline-2f640ab45c041eb2e917e274f56c9642015319d3-1 (build-pipeline) — 2025-09-25
- 3.1.0-build-through-tar-stream-71097226c3a1672ca453f7d61201aa7833052930-1 (build-through-tar-stream) — 2025-09-24
- 3.0.5-build-stream-entries-7317113a6000351683eacddcc39582e876e0adc5-1 (build-stream-entries) — 2025-09-24
- 3.0.4-build-update-dev-deps-4d67b1857344799c98500585f55c55e5e8078182-1 (build-update-dev-deps) — 2025-09-24
- 3.0.3-build-drop-bluebird-3d767b6fc7c6cc4781cd07aeaa287b578d93fa40-1 (build-drop-bluebird) — 2025-09-19
- 3.0.2-build-update-tar-stream-082499aeab9048414869b0d6d8960b7913a11dbb-1 (build-update-tar-stream-082499aeab9048414869b0d6d8960b7913a11dbb) — 2023-07-05
- 3.0.1-build-fix-clone-tar-stream-59cbcd1f9b51fd05619abfa3887d94417e431ba1-1 (build-fix-clone-tar-stream) — 2023-07-05
- 3.0.0-build-3-x-e08a28bb3983317ea2c97f0767548591a1662c61-1 (build-3-x-e08a28bb3983317ea2c97f0767548591a1662c61) — 2023-07-05
- 3.1.1 — 2025-09-25
- 3.1.0 — 2025-09-24
- 3.0.5 — 2025-09-24
- 3.0.4 — 2025-09-24
- 3.0.4-build-stream-entries-c8b2a1cfbb6c4a6662a4570a6af24f1b445cf9f5-1 — 2025-09-24
- … 28 more at https://npm.io/package/tar-utils/versions

## README

This package includes some handy functions for working with tar streams and
the [tar-stream](https://www.npmjs.com/package/tar-stream) package in particular.

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