1.0.3 • Published 3 years ago

ts-base64toimage v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Build Status Coverage Status

passBase64ToImage

You can easy pass a string base64 to a image.

Installation

Use the package manager npm to install.

npm install ts-base64toimage

Usage

import { passBase64 } from 'ts-base64toimage'

passBase64.toImage('your_base64', 
  {
    path: string
    fileName?: string
    fileExtension?: 'png' | 'jpg' | 'jpeg'
  }
)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT