1.0.6 • Published 8 years ago
tinyjpg v1.0.6
Tinyjpg
1. install:
$ npm i -g tinyjpgor
$ yarn global add tinyjpg2. config setting:
set api key
$ tinyjpg config add key  <api key>reset api key
$ tinyjpg config remove keyadd ignore folder
$ tinyjpg config add ignore <folder>remove ignore folder
$ tinyjpg config remove ignore <folder>get config list
$ tinyjpg config list3. compress image:
compress file
$ tinyjpg compress <filename>compress all images of dir
$ tinyjpg compress <dir>compress all images of dir and output
$ tinyjpg compress <dir> <output>