Gathering detailed insights and metrics for extract-zip-promise
Gathering detailed insights and metrics for extract-zip-promise
Gathering detailed insights and metrics for extract-zip-promise
Gathering detailed insights and metrics for extract-zip-promise
npm install extract-zip-promise
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
29 Commits
1 Watching
2 Branches
2 Contributors
Updated on 28 Jan 2023
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
44.4%
13
Compared to previous day
Last week
-18.5%
88
Compared to previous week
Last month
7.3%
382
Compared to previous month
Last year
-15.6%
9,436
Compared to previous year
2
1
Version 2.0.0
of the extract-zip package supports promise style api, so this package has become obsolete.
Simple wrapper around extract-zip module, enabling promise interface.
1npm i extract-zip-promise
1const extractZip = require("extract-zip-promise") 2 // 3;(async () => { 4 try { 5 await extractZip(archivePath, { dir: "destination/path" }) 6 } catch (e) { 7 //error extracting zip file 8 } 9})()
Function signature is the same as extract-zip module.
dir
- defaults to process.cwd()
defaultDirMode
- integer - Directory Mode (permissions) will default to 493 (octal 0755 in integer)defaultFileMode
- integer - File Mode (permissions) will default to 420 (octal 0644 in integer)onEntry
- function - if present, will be called with (entry, zipfile), entry is every entry from the zip file forwarded from the entry event from yauzl. zipfile is the yauzl instanceNo vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/26 approved changesets -- score normalized to 0
Reason
project is archived
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
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
27 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