
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
async-unzip
Advanced tools
Efficient, fast, asynchronous, in-memory unzip module for Node.js.
var async = require('async'),
path = require('path'),
ZipFile = require('async-unzip').ZipFile,
zipFile = new ZipFile('/home/user/Name.app.dSYM.zip'),
noMoreFiles = false;
async.whilst(function () {
return !noMoreFiles;
}, function (cb) {
async.waterfall([
function (cb) {
zipFile.getNextEntry(cb);
},
function (entry, cb) {
if (entry) {
if (entry.isFile) {
var match = entry.filename.match(/^[^\/]+\.dSYM\/Contents\/Resources\/DWARF\/(.+)/);
if (match) {
console.log(match);
console.log(entry);
async.waterfall([
function (cb) {
entry.getData(cb);
},
function (data, cb) {
// `data` is a binary data of the entry.
console.log(data.length);
cb();
}
], cb);
}
}
} else {
noMoreFiles = true;
}
cb();
}
], cb);
}, function () {
// DO NOT FORGET to call `close()` to release the open file descriptor,
// otherwise, you will quickly run out of file descriptors.
zipFile.close();
console.log(arguments);
});
FAQs
Efficient, fast, asynchronous, in-memory unzip module for Node.js.
We found that async-unzip 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.