@guanghechen/dom-blob
TypeScript icon, indicating that this package has built-in type declarations

2.3.9 • Public • Published

@guanghechen/dom-blob


Utilities for processing blob objects (i.e., download / create).

Install

  • npm

    npm install --save @guanghechen/dom-blob
  • yarn

    yarn add @guanghechen/dom-blob

Usage

  • convertDataURLToBlob(dataURL: string): Blob: Creates and returns a blob from a data URL (either base64 encoded or not).

  • downloadBlob(blob: Blob, filename: string): void: emit a download task in browser.

Readme

Keywords

Package Sidebar

Install

npm i @guanghechen/dom-blob

Weekly Downloads

0

Version

2.3.9

License

MIT

Unpacked Size

13.9 kB

Total Files

8

Last publish

Collaborators

  • lemonclown