tinyjpg

1.0.6 • Public • Published

Tinyjpg

1. install:

$ npm i -g tinyjpg

or

$ yarn global add tinyjpg

2. config setting:

set api key

$ tinyjpg config add key  <api key>

reset api key

$ tinyjpg config remove key

add ignore folder

$ tinyjpg config add ignore <folder>

remove ignore folder

$ tinyjpg config remove ignore <folder>

get config list

$ tinyjpg config list

3. 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>

Package Sidebar

Install

npm i tinyjpg

Weekly Downloads

6

Version

1.0.6

License

MIT

Last publish

Collaborators

  • lixuan