compress-image

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i compress-image

Weekly Downloads

33

Version

0.0.1

License

MIT

Last publish

Collaborators

  • zhiyingzzhou