compress-image
v0.0.1
Published
> Minify image using [tinypng](https://tinypng.com/)
Downloads
188
Readme
compress-image
Minify image using tinypng
Install
Install with npm
npm install --save-dev compress-image
Example
var compressImage = require('compress-image');
compressImage('inputDir','outputDir',{
tinifyApiKey: 'xxxxxxx' // tinypng developer apikey
compresssPercent: 10 // limit compress scale
});
License
MIT © zhiyingzzhou