Skip to content

maruware/blob-to-base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blob-to-base64

Blob to base64

yarn add @maruware/blob-to-base64

Usage

import { blobToBase64 } from '@maruware/blob-to-base64'

(async () => {
    const b64 = await blobToBase64(blob)
})()
import { blobToDataUrl } from '@maruware/blob-to-base64'

(async () => {
    const dataUrl = await blobToDataUrl(blob)
})()