JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 33
  • Score
    100M100P100Q61047F
  • License MIT

A js utilities that contains all the methods for downloading files

Package Exports

  • use-downloads

Readme

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