0.1.2 • Published 6 months ago

extra-blob v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

extra-blob

Install

npm install --save extra-blob
# or
yarn add extra-blob

API

downloadBlob

function downloadBlob(blob: Blob, filename: string): void

openFiles

function openFiles(
  options?: {
    accept?: string[]
    multiple?: boolean
  }
): Promise<FileList>

textToBlob

function textToBlob(text: string, mimeType?: string): Blob

blobToDataURL

function blobToDataURL(blob: Blob): Promise<string>
0.1.2

6 months ago

0.1.1

11 months ago

0.1.0

2 years ago