![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
node-pngcrush
Advanced tools
##node-pngcrush
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 94 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.