0.0.1 • Published 7 years ago
compress-image v0.0.1
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
0.0.1
7 years ago