# mfox

> A cli utility for download manga from mangafox

Latest version **0.2.0** (published 2017-12-03) · MIT license · 0 weekly downloads

## Install

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

Provides the command `mfox-dl`.

## 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.2.0 |
| Published | 2017-12-03 |
| First published | 2017-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Sebastian Hurtado |
| Maintainers | sebassdc |

## Links

- npm: https://www.npmjs.com/package/mfox
- Repository: https://github.com/sebassdc/mfox-dl
- Homepage: https://github.com/sebassdc/mfox-dl#readme
- Issues: https://github.com/sebassdc/mfox-dl/issues
- npm.io page: https://npm.io/package/mfox

## Dependencies (14)

- [del](https://npm.io/package/del.md) ^3.0.0
- [rxjs](https://npm.io/package/rxjs.md) ^5.5.2
- [yazl](https://npm.io/package/yazl.md) ^2.4.3
- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [listr](https://npm.io/package/listr.md) ^0.13.0
- [progress](https://npm.io/package/progress.md) ^2.0.0
- [commander](https://npm.io/package/commander.md) ^2.12.1
- [log-symbols](https://npm.io/package/log-symbols.md) ^2.1.0
- [pretty-bytes](https://npm.io/package/pretty-bytes.md) ^4.0.2
- [requestretry](https://npm.io/package/requestretry.md) ^1.12.2
- [node-mangafox](https://npm.io/package/node-mangafox.md) 0.0.9
- [@reactivex/rxjs](https://npm.io/package/@reactivex/rxjs.md) ^5.5.2
- [gradient-string](https://npm.io/package/gradient-string.md) ^1.0.0
- [request-progress](https://npm.io/package/request-progress.md) ^3.0.0

## Recent versions

- 0.2.0 (latest) — 2017-12-03
- 0.1.5 — 2017-11-28
- 0.1.4 — 2017-11-28
- 0.1.3 — 2017-11-28
- 0.1.2 — 2017-11-28
- 0.1.1 — 2017-11-28
- 0.1.0 — 2017-11-28

## README

# mfox-dl

A cli utility for download manga from mangafox

## Instalation
  ```bash
  npm install -g mfox
  ```

## usage

`mfox-dl [options] [command]`


### Options:

-V, --version  output the version number

-h, --help     output usage information

### Commands:

#### Get the number of chapters of a manga:

```
mfox-dl chapters <manga>
```

e.g.

```
mfox-dl chapters toriko
```

#### Download a manga chapter:
```
mfox-dl down <manga> [chapter]
```
e.g. 
```
mfox-dl down toriko 29
```

#### Download a manga page:

```
mfox-dl down <manga> [chapter]
```
e.g. 
```
mfox-dl down gantz 10 4
```

#### Download a range of chapters:

```
mfox-dl down <manga> -r <a>..<b>
```

```
mfox-dl down gantz -r 20..37
```

Note:
All the manga name must be the encountered in the link from mangafox
i.e http://mangafox.me/manga/onepunch_man/ -> onepunch_man

## Programatic usage

### install
```
npm install mfox --save
```
or
```
yarn add mfox
```

### require

```javascript
const {
  downloadChapter,
  multiDownload,
  downloadPage
} = require('mfox')

// Download multiple mangas
multiDownload({
  manga: 'gantz',
  from: 112,
  to: 145,
})

downloadChapter("sun_ken_rock", 35).run()
  .then(_ => console.log("Done!"))

downloadPage("sun_ken_rock", 4, 10)
```

If you find a Bug and want to contribute send a PR or post an issue.




------------------------------------------------------------------
"THE PIZZA-WARE LICENSE" (Revision 42):
Peter Hofmann <pcode@uninformativ.de> wrote these files. As long as you
retain this notice you can do whatever you want with this stuff. If we
meet some day, and you think this stuff is worth it, you can buy me a
pizza in return.
------------------------------------------------------------------

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