blob from file javascript code example
Example: get blob from file javascript
Modern solution:
let blob = await fetch(url).then(r => r.blob());
The url can be an object url or a normal url.
Modern solution:
let blob = await fetch(url).then(r => r.blob());
The url can be an object url or a normal url.