1.0.1 • Published 1 year ago

img-compressor-js v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

img-compressor-js

img-compressor-js is a simple image compression library for web applications. It provides an easy-to-use interface for reducing the size of images, which is particularly useful for optimizing images for better web performance before uploading to a server.

Features

  • Compress images using browser-side JavaScript.
  • Customize the maximum dimensions and quality of the output image.
  • Return a compressed image as a File object and its previewUrl for immediate display.

Installation

Install img-compressor-js using npm:

npm install img-compressor-js --save
1.0.1

1 year ago

1.0.0

1 year ago