img-webp
v0.1.2
Published
A tool to convert regular(png/jpg) to the webp format
Downloads
1
Readme
img-webp CLI
The img-webp CLI converts all .png and .jpg's in the directory into the .webp format. At this time there can only be passed two options: --quality(0-100) and if you want to format with lossless compression (--lossless/-l), lossy compression is used by default if the lossless option is not passed.
Instalation
$ npm i -g img-webp
Usage example
Format all images to lossy compressed webp images with quality of 80.
$ img-webp -q 80
Format all images to lossless compressed webp images.
$ img-webp -l
Get all options
$ img-webp