
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
extract-zip-fork
Advanced tools
unzip a zip file into a directory using 100% pure gluten-free organic javascript
Unzip written in pure JavaScript. Extracts a zip into a directory. Available as a library or a command line program.
Uses the yauzl ZIP parser.
Get the library:
npm install extract-zip --save
Install the command line program:
npm install extract-zip -g
var extract = require('extract-zip')
extract(source, {dir: target}, function (err) {
 // extraction is complete. make sure to handle the err
})
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 every entry from the zip file. forwarded from the entry event from yauzl.Default modes are only used if no permissions are set in the zip file.
extract-zip foo.zip <targetDirectory>
If not specified, targetDirectory will default to process.cwd().
FAQs
unzip a zip file into a directory using 100% pure gluten-free organic javascript
We found that extract-zip-fork 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
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.