imgminx

1.1.8 • Public • Published

imgminx

Simple, one-line command to optimize images (.jpeg and .png) in the current directory and generate WebP format for them. No configuration. No hassle. Only require NodeJs.

Usage

You can use this package via NPX. In your terminal, simply go to the directory where your images live and run the following command:

npx imgminx

How it works

This script uses imagemin with imagemin-mozjpeg, imagemin-pngquant and imagemin-webp plugins to reduce size of jpeg and png images, overriding the files in place, and generate a webp version for each of the them.

Package Sidebar

Install

npm i imgminx

Weekly Downloads

0

Version

1.1.8

License

MIT

Unpacked Size

1.89 kB

Total Files

3

Last publish

Collaborators

  • tienql