@shaman-apprentice/blob-saver
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

blob-saver

Lets you download a blob within a browser.

Before you install this library, please think about whether you really need this extra dependency. Maybe one of the following native solutions will work for you:

Example usage

import { saveBlob } from "@shaman-apprentice/blob-saver";

const blob = new Blob(["Hello world"], { type: "text/plain" });
saveBlob("greeting.txt", blob);

Readme

Keywords

Package Sidebar

Install

npm i @shaman-apprentice/blob-saver

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

3.81 kB

Total Files

5

Last publish

Collaborators

  • shaman-apprentice