# @liudonghua123/video-downloader

> It's a simple tool which download video from yhdm.

Latest version **0.1.6** (published 2024-02-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @liudonghua123/video-downloader
pnpm add @liudonghua123/video-downloader
yarn add @liudonghua123/video-downloader
bun add @liudonghua123/video-downloader
```

Provides the command `video-downloader`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2024-02-08 |
| First published | 2024-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 7 |
| Unpacked size | 26.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | liudonghua123 |
| Maintainers | liudonghua123 |
| Keywords | node, cli, terminal, video, downloader, utility |

## Links

- npm: https://www.npmjs.com/package/@liudonghua123/video-downloader
- Repository: https://github.com/liudonghua123/video-downloader
- Issues: https://github.com/liudonghua123/video-downloader/issues
- npm.io page: https://npm.io/package/@liudonghua123/video-downloader

## Dependencies (7)

- [ora](https://npm.io/package/ora.md) ^8.0.1
- [tsx](https://npm.io/package/tsx.md) ^4.7.0
- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [figlet](https://npm.io/package/figlet.md) ^1.7.0
- [commander](https://npm.io/package/commander.md) ^11.1.0
- [pretty-bytes](https://npm.io/package/pretty-bytes.md) ^6.1.1
- [puppeteer-core](https://npm.io/package/puppeteer-core.md) ^22.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.1.6 (latest) — 2024-02-08
- 0.1.5 — 2024-02-08
- 0.1.4 — 2024-02-08
- 0.1.3 — 2024-02-08
- 0.1.2 — 2024-02-08
- 0.1.1 — 2024-02-08
- 0.1.0 — 2024-02-08

## README

# video-downloader

It's a simple tool which download video from some source like yhdm.

## How to use it

### Use it as a tool

1. `npm i -g @liudonghua123/video-downloader`
2. `video-downloader -h`
3. `video-downloader -u /url/to/the/video -u /rule/of/video/url -o /path/to/video/file/to/save`

### Use it as a libary

1. `npm i -S @liudonghua123/video-downloader`
2. `import { getVideoUrl, downloadVideo } from "@liudonghua123/video-downloader";`
3. invoke [`getVideoUrl`](https://github.com/liudonghua123/video-downloader/blob/main/lib/index.mts) function just like [`video-downloader.mts`](https://github.com/liudonghua123/video-downloader/blob/main/bin/video-downloader.mts).

## ToDos

- [ ] add config.yaml file for arguments replacement
- [ ] add more source of video supporting
- [ ] add more features ...

## License

MIT License

Copyright (c) 2024 liudonghua.

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