1.0.2 • Published 5 years ago

b64-to-image v1.0.2

Weekly downloads
14
License
MIT
Repository
github
Last release
5 years ago

b64-to-image

npm version License

Node module to Convert Base64 string to Image

Installation

Use one of the following methods to add the Star Rating library to your project:

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

License

MIT