Save As Functionality In JavaScript – tiny-save-as

Category: Javascript | October 31, 2018
Author:keqingrong
Views Total:574 views
Official Page:Go to website
Last Update:October 31, 2018
License:MIT

Preview:

Save As Functionality In JavaScript – tiny-save-as

Description:

A tiny JavaScript library that provides the Save As functionality on the webpage.

How to use it:

Import the tiny-save-as into the document.

<script src="//unpkg.com/tiny-save-as">

Pass the blob data as the first parameter to the saveAs function.

saveAs(blob);

Customize the file name.

saveAs(blob, fileName);

Changelog:

10/31/2018

  • Add check for URL API

You Might Be Interested In:


Leave a Reply