A handy Image Processor
npm install handy-image-processorA handy, simple & useful Image Processor for NodeJS with very simple API.
First install.
``bashwith npm
npm install handy-image-processor
Usage
`javascript
// Import
const Processor = require('handy-image-processor')// For processing
Processor.ProcessImage(options:Object):Promise
options = {
srcFile, // Image source [eg. './src/image.gif']
width, // width you want [eg. 100]
height, // height you want [eg. 100]
destFile: // Image destination [eg. './dest/'+ new Date().getTime() +'.png']
}
// For deleting all the files of any given folder
Processor.DeleteFolder(folder:String):Promise
``