simple-downloader

0.0.2 • Public • Published

simple-downloader package

Installation

nmp i simple-downloader

Usage

const { download } = require('simple-downloader')
// OR
import { download } from 'simple-downloader'

await download (
  ['https://speed.hetzner.de/100MB.bin'],     // URLs of the files to download (optional, default: [])
  './downloads',                              // directory path to save the files (optional, default: 'simple-downloader')
  5000,                                       // cooldown between each download (optional, default: 5000)
  true                                        // debug mode (optional, default: false)
)


That's all you need to know to use this package!

Package Sidebar

Install

npm i simple-downloader

Weekly Downloads

2

Version

0.0.2

License

none

Unpacked Size

2.76 kB

Total Files

3

Last publish

Collaborators

  • theo-bnts