b64-to-image
v1.0.2
Published
Convert Base64 string to Image
Downloads
269
Maintainers
Readme
b64-to-image
Node module to Convert Base64 string to Image
Installation
Use one of the following methods to add the Star Rating library to your project:
- Download ZIP
npm install b64-to-image
Usage
const base64ImageDecoder = require('b64-to-image');
// valid base64 string
let base64String = '"data:image/png;base64,iVBORw0...."'
base64ImageDecoder.convert(base64String, 'output\\images', 'testImage')
.then(result => {console.log(result);})
.catch(err => console.error(err));
Changelog
v1.0.2 - [2019-01-15]
- Added repository information
v1.0.1 - [2019-01-15]
- Added keywords
v1.0.0 - [2019-01-15]
- Initial release