1.1.3 • Published 5 years ago
ru-img-compress v1.1.3
Image compression plugin
Install the library to your project
npm i ru-img-compress
Usage
After installation you should have access to the library commands;
Move your directory with images to /img
directory in your root (configuration option coming soon).
Run the command:
img-compress
Command options:
By default the compression quality is 60%. You can customize it as follows:
img-compress 30
30 means the quality of the image will be 30% of the original.
Use any number from 0 to 100.
More features coming soon...