ru-img-compress

1.1.3 • Public • Published

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...

/ru-img-compress/

    Package Sidebar

    Install

    npm i ru-img-compress

    Weekly Downloads

    2

    Version

    1.1.3

    License

    ISC

    Unpacked Size

    4.29 kB

    Total Files

    4

    Last publish

    Collaborators

    • paritosh_pundir
    • paari