base64-to-file
v1.1.0
Published
Save base64 data to a specified directory.
Downloads
34,996
Maintainers
Readme
base64ToFile
npm install base64-to-file
var base64ToFile = require('base64-to-file');
base64ToFile.convert(data.image,"upload/",['jpg','jpeg','png'], function (filePath) {
console.log(filePath);
});