Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
extract-zip-promise
Advanced tools
Simple wrapper around extract-zip module, enabling promise interface.
npm i extract-zip-promise
const extractZip = require("extract-zip-promise")
//
;(async () => {
try {
await extractZip(archivePath, { dir: "destination/path" })
} catch (e) {
//error extracting zip file
}
})()
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 instanceFAQs
Wrapper arount extract-zip enabling promise interface.
The npm package extract-zip-promise receives a total of 0 weekly downloads. As such, extract-zip-promise popularity was classified as not popular.
We found that extract-zip-promise demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.