use-downloads
v1.5.1
Published
A js utilities that contains all the methods for downloading files
Downloads
134
Maintainers
Readme
use-downloads
A js utilities that contains all the methods for downloading files
Installing
# use pnpm
$ pnpm install use-downloads
# use npm
$ npm install use-downloads --save
# use yarn
$ yarn add use-downloads
Usage
General use
import { download } from 'use-downloads'
download('url', options)
- by require
const { download } = require('use-downloads')
download('url', options)
Use CDN resource
<!-- head -->
<script src="https://unpkg.com/[email protected]/dist/index.global.prod.js"></script>
Support & Issues
Please open an issue here.