1- If you need to save really large files bigger then the blob's size limitation or don't have
1+ If you need to save really large files bigger than the blob's size limitation or don't have
22enough RAM, then have a look at the more advanced [ StreamSaver.js] [ 7 ]
33that can save data directly to the hard drive asynchronously with the power of the new streams API. That will have
44support for progress, cancelation and knowing when it's done writing
@@ -89,7 +89,7 @@ FileSaver.saveAs("https://httpbin.org/image", "image.jpg");
8989```
9090Using URLs within the same origin will just use ` a[download] ` .
9191Otherwise, it will first check if it supports cors header with a synchronous head request.
92- If it does, it will download the data and save using blob URLs.
92+ If it does, it will download the data and save using blob URLs.
9393If not, it will try to download it using ` a[download] ` .
9494
9595The standard W3C File API [ ` Blob ` ] [ 4 ] interface is not available in all browsers.
@@ -110,7 +110,7 @@ Note: The standard HTML5 `canvas.toBlob()` method is not available in all browse
110110
111111You can save a File constructor without specifying a filename. If the
112112file itself already contains a name, there is a hand full of ways to get a file
113- instance (from storage, file input, new constructor, clipboard event).
113+ instance (from storage, file input, new constructor, clipboard event).
114114If you still want to change the name, then you can change it in the 2nd argument.
115115
116116``` js
0 commit comments