1.5.1 • Published 2 years ago

use-downloads v1.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

use-downloads

A js utilities that contains all the methods for downloading files

NPM version Codacy Badge Test coverage npm download gzip License

Sonar

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)
  1. by require
const { download } = require('use-downloads')

download('url', options)

Use CDN resource

<!-- head -->
<script src="https://unpkg.com/use-downloads@1.2.0/dist/index.global.prod.js"></script>

Support & Issues

Please open an issue here.

License

MIT