# ezdl

> asynchronous downloads

Latest version **0.0.1** (published 2020-03-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install ezdl
pnpm add ezdl
yarn add ezdl
bun add ezdl
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-03-31 |
| First published | 2020-03-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | David M.Chen |
| Maintainers | chen7david |
| Keywords | asynchronous, download |

## Links

- npm: https://www.npmjs.com/package/ezdl
- Repository: https://github.com/chen7david/ezdl
- Homepage: https://github.com/chen7david/ezdl#readme
- Issues: https://github.com/chen7david/ezdl/issues
- npm.io page: https://npm.io/package/ezdl

## Alternatives

- [promise-throttle](https://npm.io/package/promise-throttle.md) — 44.2K weekly downloads
- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2020-03-31
- 0.0.0 — 2020-03-31

## README

# EZ-Downlaoder

```js
const DL = require('ezdl')({
    folder: path.resolve(__dirname, 'downloads'),
    baseURL:'http://some-url/'
})

const configured = async () => {

       const result = await DL
            .params('url-param-one', 'url-param-two', /* url-param-n */)
            .name('file-name')
            .start('parent-folder', 'child-foler-one', /* child-foler-n */)

}

configured()
```

```js
const { Downloader } = require('ezdl')
const DL = new Downloader()

const instance = async () => {

    const result = await DL
        .baseURL('http://image.tmdb.org/t/p/')
        .params('url-param-one', 'url-param-two', /* url-param-n */)
        .name('file-name')
        .start('parent-folder', 'child-foler-one', /* child-foler-n */)

}

instance()
```


```js
.force(/* boolean */) /* optional - foreces redownload of already existing files */ 
```

---
_Source: https://npm.io/package/ezdl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
