jpeg-min
v0.0.1
Published
To minimize jpeg files
Downloads
1
Readme
jpeg-min
jpeg-min is based on guetzli.
How to use?
var jpegmin = require('jpeg-min');
// The jpeg file will be compressed and replaced.
jpegmin('/path/to/my.jpg', function(err) {
// ...
});
ATTENTION: By default, the jpeg file will be replaced with compressed one. So, if you wanna keep the original jpeg, make a copy before invoke jpeg-min.