image-saver-nodejs
v1.0.3
Published
##An nodejs library to save base64 string to image file in your local file system.
Downloads
28
Maintainers
Readme
#image-saver-nodejs
##An nodejs library to save base64 string to image file in your local file system.
##Usage(Correction due to some reason index.js is not getting published)
var ImageSaver = require('image-saver-nodejs/lib')
var imageSaver = new ImageSaver()
imageSaver.saveFile('test.png','base64stringhere').then((data)=>{
console.log(data.status)
console.log(data.msg)
}).catch((err)=>{
console.log(err)
})