It's npm tool based on https://tinypng.com API which allows you easier to compress you images.
##Installation $ npm install -g tinify-image
##Quick Start
You can get your API key from https://tinypng.com/developers. And then
$ tinify-image setKey 'Your API Key'
By default, source folder will be source, output folder will be output. So you can just run tinify-image
on this condition.
$ tinify-image -s 'SourceImageFolder' -o 'OutputImageFolder'
###Get Count
Get info about how much images the API key already optimized this month.
$ tinify-image count
Note: you have 500 images per month to optimize for free, you have to pay https://tinypng.com to get more images optimized per 1 month.
##Links
https://github.com/DarthMarcius/img-tinify
##License
MIT