Skip to content

kerm1it/tinyjpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

compress image by tinypng api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published