@jswork/next-blob2down

1.0.1 • Public • Published

next-blob2down

Download from blob.

version license size download

installation

npm install -S @jswork/next-blob2down

usage

import '@jswork/next-blob2down';

// download a png with filename
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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i @jswork/next-blob2down

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.18 kB

Total Files

6

Last publish

Collaborators

  • afeiship