Gathering detailed insights and metrics for jaswude-adm-zip
Gathering detailed insights and metrics for jaswude-adm-zip
Gathering detailed insights and metrics for jaswude-adm-zip
Gathering detailed insights and metrics for jaswude-adm-zip
A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk
npm install jaswude-adm-zip
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,118 Stars
455 Commits
375 Forks
39 Watchers
4 Branches
89 Contributors
Updated on Jul 09, 2025
Latest Version
0.5.15
Package Id
jaswude-adm-zip@0.5.15
Unpacked Size
112.14 kB
Size
25.30 kB
File Count
20
NPM Version
8.1.2
Node Version
16.13.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
--以下是adm-zip原文档,截至2022-02-15--
With npm do:
$ npm install adm-zip
The library allows you to:
There are no other nodeJS libraries that ADM-ZIP is dependent of
1var AdmZip = require("adm-zip"); 2 3// reading archives 4var zip = new AdmZip("./my_file.zip"); 5var zipEntries = zip.getEntries(); // an array of ZipEntry records 6 7zipEntries.forEach(function (zipEntry) { 8 console.log(zipEntry.toString()); // outputs zip entries information 9 if (zipEntry.entryName == "my_file.txt") { 10 console.log(zipEntry.getData().toString("utf8")); 11 } 12}); 13// outputs the content of some_folder/my_file.txt 14console.log(zip.readAsText("some_folder/my_file.txt")); 15// extracts the specified file to the specified location 16zip.extractEntryTo(/*entry name*/ "some_folder/my_file.txt", /*target path*/ "/home/me/tempfolder", /*maintainEntryPath*/ false, /*overwrite*/ true); 17// extracts everything 18zip.extractAllTo(/*target path*/ "/home/me/zipcontent/", /*overwrite*/ true); 19 20// creating archives 21var zip = new AdmZip(); 22 23// add file directly 24var content = "inner content of the file"; 25zip.addFile("test.txt", Buffer.from(content, "utf8"), "entry comment goes here"); 26// add local file 27zip.addLocalFile("/home/me/some_picture.png"); 28// get everything as a buffer 29var willSendthis = zip.toBuffer(); 30// or write everything to disk 31zip.writeZip(/*target file name*/ "/home/me/files.zip"); 32 33// ... more examples in the wiki
For more detailed information please check out the wiki.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
3 existing vulnerabilities detected
Details
Reason
Found 6/19 approved changesets -- score normalized to 3
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
dependency not pinned by hash detected -- score normalized to 0
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
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
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