0.0.6 • Published 6 months ago
@requrv/image-to-base64 v0.0.6
Convert image file to Base64
The project simplifies the task of converting images loaded from a browser to the Base64 format.
Authors
Installation
Install with yarn:
yarn add @requrv/image-to-base64
Install with npm:
npm install @requrv/image-to-base64
Usage/Examples
import { convertImage } from '@requrv/image-to-base64'
async function convert(file: File) {
return await convertImage(file)
}