# mw-downloader

> Command-line utility for resumable downloads

Latest version **0.1.1** (published 2019-05-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install mw-downloader
pnpm add mw-downloader
yarn add mw-downloader
bun add mw-downloader
```

Provides the command `mwd`.

## 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.1.1 |
| Published | 2019-05-03 |
| First published | 2019-05-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 18.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Mariano Walter |
| Maintainers | mwalter |
| Keywords | resumable, download, http, cli, mwd |

## Links

- npm: https://www.npmjs.com/package/mw-downloader
- Repository: https://github.com/MarianoWalter/mwd
- Homepage: https://github.com/MarianoWalter/mwd#readme
- Issues: https://github.com/MarianoWalter/mwd/issues
- npm.io page: https://npm.io/package/mw-downloader

## Dependencies (3)

- [request](https://npm.io/package/request.md) ^2.88.0
- [progress](https://npm.io/package/progress.md) ^2.0.3
- [commander](https://npm.io/package/commander.md) ^2.20.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2019-05-03
- 0.1.0 — 2019-05-03

## README

# MW-Downloader

Command-line utility for resumable downloads

## Install

```bash
$ npm install -g mw-downloader
```

### Help

```bash
$ mwd --help
$ mwd url --help
```

## Usage

```bash
$ mwd url [options] <url>
```

Basic example:

```bash
$ mwd url http://remote-server.com/example.zip
```

This command creates an "*example.zip.mwd*" file in the current directory.

When the download is finished, this file is renamed.

## Options

|Option|Description|Default value|
|------|-----------|-------------|
| --filename &lt;*filename*&gt; | Sets the name for the downloaded file | *&lt;URL file name&gt;* |
| --block-size &lt;*size*&gt; | Size of each chunk of data to be downloaded. Examples: `512` (512 bytes), `4KB` (`4096` bytes, same as `4k`, `4K`, `4kB`, `4096b`, etc.), `2Mb`, `1G` | `4Mb` |
| --replace | Overwrites the file if it already exists | |
| --no-progress | No progress bar |  |

Example with options:

```bash
$ mwd url --filename custom_name.zip --replace --no-progress http://remote-server.com/large_file.zip
```

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