ts-base64toimage
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i ts-base64toimage

Weekly Downloads

18

Version

1.0.3

License

MIT

Unpacked Size

31.2 kB

Total Files

19

Last publish

Collaborators

  • quesadowins