/webp-converter

webp-converter

Primary LanguageJavaScriptMIT LicenseMIT

webp-converter

Image converter to webp format

Tested w/Node 18, npm 8.x.x, and up

From root folder:

npm install

Place the images you want to convert into images folder.

Run:

npm run start

Processed images will go into processed folder. Converts jpg, jpeg, or png into webp format.

Pass sizes like this:

npm run start 500 700 1000

Settings:

https://github.com/imagemin/imagemin-webp

Enjoy.