Skip to content

squeezr is a node CLI tool for convert and minify images written in Javascript. Supported formats: JPEG, PNG, WebP and AVIF.

Notifications You must be signed in to change notification settings

PrinceNet/squeezr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

squeezr

squeezr is a node CLI tool for convert and minify images written in Javascript.

Currently support the following formats: JPEG, PNG, WebP and AVIF.

Installation

Use the package manager npm to install squeezr.

npm i -g squeezr

Usage

Simple as that

squeezr --srcFolder="/absolute_path/in" --targetFolder="/absolute_path/out"

Or if you want a portion of files to be compressed you can pass --activePath to work as a subpath

squeezr --srcFolder="/absolute_path/in" --targetFolder="/absolute_path/out" --activePath="only_this_folder"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache License 2.0

About

squeezr is a node CLI tool for convert and minify images written in Javascript. Supported formats: JPEG, PNG, WebP and AVIF.

Resources

Stars

Watchers

Forks

Packages

No packages published