1.0.0 • Published 5 years ago

trick-tinypng-cli v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

trick-tinypng-cli

Compress images in command lines. Use tinypng.com API, without API key, and it is free.

install

npm install -g trick-tinypng-cli

Usage

tiny ./imgdir
tiny ./img/test.png
tiny ./imgdir1 ./imgdir2 ./img/test1.png ...
$ tiny -h
Usage: tiny [options] <file ...>

Options:
  -v, --version           output the version number
  -p, --parallel [value]  parallel numbers of downloading images, use as '-p 3' (default: 3)
  -a, --auto              auto retry failed files
  -l, --detaillog         more detailed log
  -d, --debuglog          debug level log
  -i, --interval [value]  the interval between two requests group, use as '-i 1000' (default: 4000)
  -h, --help              output usage information

License

MIT