
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@node-minify/imagemin
Advanced tools
Imagemin plugin for @node-minify - Compress PNG, JPEG and GIF images
A very light minifier Node.js module.
imagemin is a plugin for node-minify
It allows you to compress PNG, JPEG, and GIF images using imagemin and its plugins (mozjpeg, pngquant, gifsicle).
Note: For new projects, consider using
@node-minify/sharpwhich is more actively maintained and offers better performance.
npm install @node-minify/core @node-minify/imagemin
import { minify } from '@node-minify/core';
import { imagemin } from '@node-minify/imagemin';
// Compress image
await minify({
compressor: imagemin,
input: 'photo.jpg',
output: 'photo.min.jpg',
options: {
quality: 80
}
});
| Option | Type | Default | Description |
|---|---|---|---|
quality | number | 80 | Quality setting for JPEG (0-100) |
lossless | boolean | false | Use lossless compression for PNG |
effort | number | 6 | Compression effort for pngquant (1-10) |
optimizationLevel | number | 1 | Optimization level for gifsicle (1-3) |
Visit https://node-minify.2clics.net for full documentation
FAQs
Imagemin plugin for @node-minify - Compress PNG, JPEG and GIF images
We found that @node-minify/imagemin demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.