ethan-image-resizer
v1.0.0
Published
A simple tool to resize images in batch
Downloads
5
Readme
Ethan's Great Image Process Tools
to transform images in the same folder with custom width.
Install
npm install ethan-image-resizer
How to use
You have to put all images to one same folder, and pass the folder path to the resizer.
const imageResizer = require('ethan-image-resizer')
const path = require('path')
const curImageFolderPath = path.join(__dirname, 'images')
imageResizer(curImageFolderPath, 100)