Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
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
The npm package extract-zip-fork receives a total of 24 weekly downloads. As such, extract-zip-fork popularity was classified as not popular.
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.