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-pngquant-native
Advanced tools
node-pngquant-native是一个node的native插件,而不是调用命令行的方式,提升处理速率,有效的省去了调用外部程序产生的时间开销。
##安装
npm install -g node-pngquant-native
###环境要求
##使用
var C = require('node-pngquant-native');
fs.readFile('./alphatest.png', function (err, data) {
if (err) throw err;
var buffer = C.option({
params: '-v --iebug'
}).compress(data);
fs.writeFile('./alphatest_out.png', buffer, {
flags: 'wb'
}, function(err){});
});
FAQs
A pngquant addon of node
The npm package node-pngquant-native receives a total of 155 weekly downloads. As such, node-pngquant-native popularity was classified as not popular.
We found that node-pngquant-native 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.