A Javascript file download tool
In a browser:
<script src='download.js'></script>
js
var DownloadManager = new Download.DownloadManager
DownloadManager.download(blob|data, filename, contentType)
DownloadManager.downloadData(data, filename, contentType)
DownloadManager.downloadUrl(url, filename)
Apache 2.0
If you have any ideas, feedback, requests or bug reports, you can reach me at 77209302@qq.com