</>PackageGraphPackageGraph

tar

npmv7.5.22TypeScript

tar for node

Safe to adopt

Yes — tar scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 47 days ago. 24 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 47 days ago. 24 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 5 transitive packages, about 2.5 MB installed (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    BlueOak-1.0.0 — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding tar to a project.

5
Direct dependencies

Runtime packages this one declares itself.

5
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

2.5 MB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

BlueOak-1.0.0ISCMIT

Every license you inherit by installing tar, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=18
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the tar README.

import { create } from 'tar'
create(
  {
    gzip: <true|gzip options>,
    file: 'my-tarball.tgz'
  },
  ['some', 'files', 'and', 'folders']
).then(_ => { .. tarball has been created .. })

Dependencies

Declared by tar v7.5.22. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (14)

@types/node ^25.9.1chmodr ^2.0.2end-of-stream ^1.4.3esbuild ^0.28.0events-to-array ^2.0.3mutate-fs ^2.1.1nock ^13.5.4oxlint ^1.67.0oxlint-tsgolint ^0.23.0prettier ^3.8.3rimraf ^6.1.2tap ^21.7.4tshy ^4.1.2typedoc ^0.28.19

Used by

Popular packages that depend on tar.

Relationship graph

Dependencies (left) and dependents (right) of tar.

Frequently installed together

Release history

24 releases in the last two years, typically about 4 days apart.

Recent versions of tar
VersionPublishedSizeLicense
7.5.22latest1 month ago2.2 MBBlueOak-1.0.0
7.5.211 month ago2.2 MBBlueOak-1.0.0
7.5.202 months ago2.2 MBBlueOak-1.0.0
7.5.192 months ago2.2 MBBlueOak-1.0.0
7.5.182 months ago2.2 MBBlueOak-1.0.0
7.5.172 months ago2.2 MBBlueOak-1.0.0
7.5.163 months ago2.2 MBBlueOak-1.0.0
7.5.154 months ago2.2 MBBlueOak-1.0.0
7.5.144 months ago2.1 MBBlueOak-1.0.0
7.5.135 months ago2.1 MBBlueOak-1.0.0
7.5.125 months ago2.1 MBBlueOak-1.0.0
7.5.116 months ago2.1 MBBlueOak-1.0.0
7.5.106 months ago2.1 MBBlueOak-1.0.0
7.5.96 months ago2.1 MBBlueOak-1.0.0
7.5.86 months ago1.2 MBBlueOak-1.0.0

Overview

tar is an npm package that tar for node. It has 5 known dependents in the graph. The latest version is 7.5.22, released under the BlueOak-1.0.0 license.

Who should use it

Teams working in the npm ecosystem who need tar for node and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (BlueOak-1.0.0).

Cons

  • Large dependency tree (19 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use tar?

Yes — tar scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 47 days ago. 24 releases in the last 2 years.

How do I install tar?

Run `npm install tar` to add tar to your npm project.

How many dependencies does tar have?

tar declares 19 direct dependencies and pulls in 5 packages in total once its runtime tree is resolved totalling about 2.5 MB on disk.

What license is tar released under?

tar is distributed under the BlueOak-1.0.0 license. Its dependency tree also includes: BlueOak-1.0.0, ISC, MIT.

How popular is tar?

npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on tar.

Is tar still maintained?

The most recent release of tar (v7.5.22) was published 1 month ago.

Does tar run install scripts?

No. tar does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.