b64-to-image

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i b64-to-image

Weekly Downloads

68

Version

1.0.2

License

MIT

Unpacked Size

3.35 kB

Total Files

3

Last publish

Collaborators

  • riteshgandhi