Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 568 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 568 Bytes

@tok/compress

Node-based solution for image compression. It efficiently processes PNG, JPG, and JPEG files, reducing their size and converting them into WEBP, PNG, JPG, or JPEG formats.

Usage

  1. Place your images inside the input folder.

  2. Run the following command:

    npm run compress
  3. The compressed images will be generated and stored in the output folder, available in various compression sizes [40/60/80/100].

  4. Select the compressed images that best suit your needs and replace the original ones with the optimized versions.