multi-tinypng
v0.0.4
Published
Use command line to compress png/jpg files via tinypng api. Support multi api keys.
Downloads
8
Maintainers
Readme
MultiPNG
Thanks to lagden and ozio
Compress PNG/JPG with TinyPNG API in terminal.
Support multi API keys, if one reaches the limit, automaticly switch to another!
Installation
$ npm install -g multi-tinypngUsage
Usage: tinypng [options] [image.png|*.png]
-k, --api-key Set default TinyPNG API key.
-r, --allow-rewrite Rewrite the original files with compressed data.
-n, --allow-nonpng Allow you to compress files without .png extention.
-p, --postfix Postfix for compressed files when rewriting disabled.
-h, --help This message.
-v, --version Show version.