Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
jpeg-recompress-bin
Advanced tools
jpeg-recompress wrapper that makes it seamlessly available as a local dependency
Compress JPEGs by re-encoding to the smallest JPEG quality while keeping perceived visual quality the same and by making sure huffman tables are optimized
You probably want imagemin-jpeg-recompress
instead.
$ npm install --save jpeg-recompress-bin
import {execFile} from 'node:child_process';
import jpegRecompress from 'jpeg-recompress-bin';
execFile(jpegRecompress, ['--quality high', '--min 60', 'input.jpg', 'output.jpg'], error => {
console.log('Image minified');
});
$ npm install --global jpeg-recompress-bin
$ jpeg-recompress --help
MIT © Imagemin
FAQs
jpeg-recompress wrapper that makes it seamlessly available as a local dependency
The npm package jpeg-recompress-bin receives a total of 6,732 weekly downloads. As such, jpeg-recompress-bin popularity was classified as popular.
We found that jpeg-recompress-bin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.