use-downloads
TypeScript icon, indicating that this package has built-in type declarations

1.5.1 • Public • Published

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

Package Sidebar

Install

npm i use-downloads

Weekly Downloads

26

Version

1.5.1

License

MIT

Unpacked Size

20.4 kB

Total Files

11

Last publish

Collaborators

  • saqqdy