Skip to content

terance-edmonds/nodejs-image-compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJs Image Compress

A simple nodejs application to compress {png, jpg, jpeg, etc..} images.

Setup

Create an input folder and copy all the images needed to be compressed into it. The compressed images will be in output folder.

Run below code to install node modules

npm install

or

yarn install

Execute

Run below code to run the compress images or use the compress.cmd file to execute the node app.

npm start

or

yarn start