simplefilesaver

1.0.1 • Public • Published

simplefilesaver

Saves File or Blob. Nothing else.

Usage

Here's an example. It uses all of the arguments, and uses a File:

saveFile(new File(["hello"], "", { type: "text/plain" }), "hello.txt");

Importing

To import, just link it as a script tag.

Dependents (0)

Package Sidebar

Install

npm i simplefilesaver

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

1.39 kB

Total Files

5

Last publish

Collaborators

  • brahmasharma