1.0.0 • Published 4 years ago

ethan-image-resizer v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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)