0.0.2 • Published 4 years ago
imageresizerfromfolder v0.0.2
imageresizerfromfolder
imageresizerfromfolder is a simple script that reduce the size of .jpg and .png of all images from a root folder.
Install
imageresizerfromfolder requires Node.js v4+ to run.
In your app folder open a terminal and write.
$ npm i imageresizerfromfolder -D
Warning
Running this script overrides your images.
Usage
const resize = require("imageresizerfromfolder");
resize("C:/Users/YourUser/Pictures/");
Terminal Output
Initializing
Reading folder structure, this might take a while...
A total of 5 images are going to be processed
Optimizing...
Finalized Successfully
License
MIT