trick-tinypng-cli

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i trick-tinypng-cli

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

28.8 kB

Total Files

11

Last publish

Collaborators

  • leizhihao