downloadUrlAsFile
downloadUrlAsFile(url, [filename])
Given a URL, download the file at that URL as a file with the given filename. Especially useful when used with data URLs (see https://en.wikipedia.org/wiki/Data_URI_scheme)
Kind: global function
| Param | Type | Description |
|---|---|---|
| url | string | |
| [filename] | string | what should the file be called? Should include the desired extension. |