Skip to content

michaelquesado/ts-base64toimage

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published