</>PackageGraphPackageGraph

jszip

npmv3.10.1TypeScript

Create, read and edit .zip files with JavaScript http://stuartk.com/jszip

Not recommended for new projects

No — jszip should not be adopted for new projects. Last published 1499 days ago.

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

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1499 days ago.

  • AWeight: grade A, Excellent.

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

  • ASupply chain: grade A, Excellent.

    No install scripts, 3 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    (MIT OR GPL-3.0-or-later) — 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 jszip to a project.

4
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.

3.2 MB
Install size

Unpacked size of this package plus its entire runtime tree.

2
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

(MIT AND Zlib)MIT

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

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the jszip README.

javascriptFull README ↗
const zip = new JSZip();

zip.file("Hello.txt", "Hello World\n");

const img = zip.folder("images");
img.file("smile.gif", imgData, {base64: true});

zip.generateAsync({type:"blob"}).then(function(content) {
    // see FileSaver.js
    saveAs(content, "example.zip");
});

/*
Results in a zip containing
Example truncated — see the full README.

jszip vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
jszipthis page02(MIT OR GPL-3.0-or-later)4 years ago
fflate53.5M1MIT1 day ago
minizlib02MIT1 day ago
pako100.8M2(MIT AND Zlib)1 day ago
lodash.zip01MIT1 day ago
@zip.js/zip.js02BSD-3-Clause1 day ago

Dependencies

Declared by jszip v3.10.1. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (4)

Dev (14)

benchmark ^2.1.4browserify ~13.0.0eslint ^8.18.0grunt ~0.4.1grunt-browserify ~5.0.0grunt-cli ~1.1.0grunt-contrib-uglify ~4.0.1http-server ^13.0.2jszip-utils ~0.0.2package-json-versionify 1.0.2playwright ^1.15.2qunit ~2.9.2tmp 0.0.28typescript ^4.6.3

Used by

Popular packages that depend on jszip.

Relationship graph

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

liepakosetimmediatefflatewebdriveriojszip
jszip dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 56 days apart.

Recent versions of jszip
VersionPublishedSizeLicense
3.10.1latest4 years ago744 KB(MIT OR GPL-3.0-or-later)
2.7.04 years ago604 KB(MIT OR GPL-3.0)
3.10.04 years ago672 KB(MIT OR GPL-3.0-or-later)
3.9.14 years ago664 KB(MIT OR GPL-3.0-or-later)
3.9.04 years ago664 KB(MIT OR GPL-3.0-or-later)
3.8.04 years ago653 KB(MIT OR GPL-3.0-or-later)
3.7.15 years ago647 KB(MIT OR GPL-3.0-or-later)
3.7.05 years ago406 KB(MIT OR GPL-3.0-or-later)
3.6.05 years ago388 KB(MIT OR GPL-3.0)
3.6.0-05 years ago385 KB(MIT OR GPL-3.0)
3.5.06 years ago645 KB(MIT OR GPL-3.0)
3.4.06 years ago644 KB(MIT OR GPL-3.0)
3.3.06 years ago636 KB(MIT OR GPL-3.0)
3.2.27 years ago636 KB(MIT OR GPL-3.0)
3.2.17 years ago637 KB(MIT OR GPL-3.0)

Overview

jszip is an npm package that create, read and edit .zip files with JavaScript http://stuartk.com/jszip. It has 2 known dependents in the graph. The latest version is 3.10.1, released under the (MIT OR GPL-3.0-or-later) license.

Who should use it

Teams working in the npm ecosystem who need create, read and edit .zip files with JavaScript http://stuartk.com/jszip 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 ((MIT OR GPL-3.0-or-later)).

Cons

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

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

Maintainers

Keywords

Frequently asked questions

Should I use jszip?

No — jszip should not be adopted for new projects. Last published 1499 days ago.

How do I install jszip?

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

How many dependencies does jszip have?

jszip declares 18 direct dependencies and pulls in 5 packages in total once its runtime tree is resolved totalling about 3.2 MB on disk.

What license is jszip released under?

jszip is distributed under the (MIT OR GPL-3.0-or-later) license. Its dependency tree also includes: (MIT AND Zlib), MIT.

How popular is jszip?

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

Is jszip still maintained?

The most recent release of jszip (v3.10.1) was published 4 years ago.

Does jszip run install scripts?

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