Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
node-pngcrush
Advanced tools
node-pngcrush是一个node的插件,它把pngcrush内嵌到了插件中,而不是调用命令行的方式,提升处理速率,有效的省去了调用外部程序产生的时间开销。
##安装
npm install -g node-pngcrush
##使用
var C = require('node-pngcrush');
fs.readFile('./alphatest.png', function (err, data) {
if (err) throw err;
var buffer = C.compress(data);
fs.writeFile('./alphatest_out.png', buffer, {
flags: 'wb'
}, function(err){});
});
FAQs
The node-pngcrush is an addon of node, as a readable/writable stream
The npm package node-pngcrush receives a total of 75 weekly downloads. As such, node-pngcrush popularity was classified as not popular.
We found that node-pngcrush demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.