README
next-blob2down
Download from blob.
installation
npm install -S @jswork/next-blob2down
usage
import '@jswork/next-blob2down';
// download a png
fetch('https://www.alo7.com/assest/images_cms/logo_title.png')
.then(r=>r.blob())
.then(res=>{
nx.blob2down(res, { filename: 'logo.png' });
});
license
Code released under the MIT license.