0.1.2 • Published 2 years ago

extra-blob v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.1.1

2 years ago

0.1.0

3 years ago