
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
easy-zip-archiver
Advanced tools
使用easy-zip-archiver
轻松生成你的zip压缩包
$ npm install easy-zip-archiver
以下的()
表示为必选参数
,[]
表示为可选参数
const EZA=require('easy-zip-archiver');// 引入模块
var eza=EZA.create('a.zip');// 创建文件
eza.push('yooo.txt').push('papapa.txt','gg.text');// push((本地文件名),[压缩包内文件名]);
eza.push(new Buffer('haha'),'baka/hi.txt');// push((流对象),(压缩包内文件名));
eza.push('a/b/c/').push('gg/gd','gggg');// push((本地文件夹名),[压缩包内文件夹名]);
//以上均是给压缩包插♂入文件
//eza.clear() <-不是必需的,清空文件列表
eza.run().close();// run() - 开始压缩 close() - 完成压缩
FAQs
A module can easily compress the zip file
We found that easy-zip-archiver 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.