Gathering detailed insights and metrics for jszip
Gathering detailed insights and metrics for jszip
Gathering detailed insights and metrics for jszip
Gathering detailed insights and metrics for jszip
Create, read and edit .zip files with Javascript
npm install jszip
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
9,817 Stars
736 Commits
1,303 Forks
130 Watching
7 Branches
54 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
JavaScript (97.35%)
HTML (2.65%)
Cumulative downloads
Total Downloads
Last day
-0.6%
1,849,383
Compared to previous day
Last week
2.8%
9,574,645
Compared to previous week
Last month
13.3%
39,654,668
Compared to previous month
Last year
21.7%
395,598,149
Compared to previous year
A library for creating, reading and editing .zip files with JavaScript, with a lovely and simple API.
See https://stuk.github.io/jszip for all the documentation.
1const zip = new JSZip(); 2 3zip.file("Hello.txt", "Hello World\n"); 4 5const img = zip.folder("images"); 6img.file("smile.gif", imgData, {base64: true}); 7 8zip.generateAsync({type:"blob"}).then(function(content) { 9 // see FileSaver.js 10 saveAs(content, "example.zip"); 11}); 12 13/* 14Results in a zip containing 15Hello.txt 16images/ 17 smile.gif 18*/
JSZip is dual-licensed. You may use it under the MIT license or the GPLv3 license. See LICENSE.markdown.
The latest stable version of the package.
Stable Version
3
7.3/10
Summary
JSZip contains Path Traversal via loadAsync
Affected Versions
< 3.8.0
Patched Versions
3.8.0
5.3/10
Summary
jszip Vulnerable to Prototype Pollution
Affected Versions
< 2.7.0
Patched Versions
2.7.0
5.3/10
Summary
jszip Vulnerable to Prototype Pollution
Affected Versions
>= 3.0.0, < 3.7.0
Patched Versions
3.7.0
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/17 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
55 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More