Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-blob2down
Download from blob.
https://github.com/afeiship/next-blob2down
blob down download file image
Last synced: 22 days ago
JSON representation
Download from blob.
- Host: GitHub
- URL: https://github.com/afeiship/next-blob2down
- Owner: afeiship
- License: mit
- Created: 2017-02-24T03:06:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-11T14:57:52.000Z (over 2 years ago)
- Last Synced: 2024-12-10T10:24:47.604Z (26 days ago)
- Topics: blob, down, download, file, image
- Language: JavaScript
- Homepage:
- Size: 160 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-blob2down
> Download from blob.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-blob2down
```## usage
```js
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](https://github.com/afeiship/next-blob2down/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-blob2down
[version-url]: https://npmjs.org/package/@jswork/next-blob2down[license-image]: https://img.shields.io/npm/l/@jswork/next-blob2down
[license-url]: https://github.com/afeiship/next-blob2down/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-blob2down
[size-url]: https://github.com/afeiship/next-blob2down/blob/master/dist/next-blob2down.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-blob2down
[download-url]: https://www.npmjs.com/package/@jswork/next-blob2down