Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 492 Bytes

readme.md

File metadata and controls

26 lines (20 loc) · 492 Bytes

small-image

make image smaller

Installation

npm install small-image -g   # globally

Usage

use the following cmd to the directory you want to compress

small-image -o ./image

the first option(optional)

-o: the compressed picture will cover the origin picture
-b: the compressed picture will save in outter directory named 'build'

the second option(optional)

decide what directory you want to compress, default directory is the current directory