0.0.1 • Published 7 years ago

jpeg-min v0.0.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

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.