1.0.2 • Published 8 years ago

tinyfy-image v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

tinyfy-image

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

Setup API Key

You can get your API key from https://tinypng.com/developers. And then

$ tinyfy-image setKey 'Your API Key'

Compress Image

By default, source folder will be source, output folder will be output. So you can just run tinyfy-image on this condition.

$ tinyfy-image -s 'SourceImageFolder' -o 'OutputImageFolder'

###Get Count

Get info about how much images the API key already optimized this month.

$ tinyfy-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://tinypng.com/ https://github.com/DarthMarcius/img-tinify

##License

MIT