extract blob with mime type
Author: tattdoggCreated Apr 22, 2025Updated Sep 13, 2026
Labelsfeature
Now:
const blob = await file.async('blob') // blob.type returns empty stringWould be nice to have:
const blob = await file.async('blob', 'application/octet-stream')or even a separate func - file.asBlob('application/octet-stream')
Source: Stuk/jszip