# @nechlophomeriaa/ytdl

> Youtube downloader Audio/Video and custom quality of.video

Latest version **0.0.15** (published 2024-06-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install @nechlophomeriaa/ytdl
pnpm add @nechlophomeriaa/ytdl
yarn add @nechlophomeriaa/ytdl
bun add @nechlophomeriaa/ytdl
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.15 |
| Published | 2024-06-17 |
| First published | 2023-08-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 22.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Thoriq Azzikra |
| Maintainers | nechlophomeria |
| Keywords | ytdl, youtube, youtube-dl |

## Links

- npm: https://www.npmjs.com/package/@nechlophomeriaa/ytdl
- Repository: https://github.com/thoriqazzikraa/ytdl
- Homepage: https://github.com/thoriqazzikraa/ytdl#readme
- Issues: https://github.com/thoriqazzikraa/ytdl/issues
- npm.io page: https://npm.io/package/@nechlophomeriaa/ytdl

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^1.4.0
- [prettier](https://npm.io/package/prettier.md) ^3.0.3
- [node-fetch](https://npm.io/package/node-fetch.md) 2.6.6

## Recent versions

- 0.0.15 (latest) — 2024-06-17
- 0.0.14 — 2024-06-17
- 0.0.13 — 2024-06-17
- 0.0.12 — 2024-06-17
- 0.0.11 — 2024-02-28
- 0.0.10 — 2024-02-20
- 0.0.9 — 2024-01-25
- 0.0.8 — 2024-01-25
- 0.0.7 — 2023-09-23
- 0.0.6 — 2023-09-19
- 0.0.5 — 2023-09-19
- 0.0.4 — 2023-09-03
- 0.0.3 — 2023-08-29
- 0.0.2 — 2023-08-24
- 0.0.1 — 2023-08-21

## README

# Installation

```sh
> npm i @nechlophomeriaa/ytdl
```

# Usage

```js
// Common JS
const { yt, ytmp3, ytmp4 } = require("@nechlophomeriaa/ytdl")
```

```js
// ESM
import { yt, ytmp3, ytmp4 } from "@nechlophomeriaa/ytdl"
```

# Example Audio Downloader

```js
;async () => {
  const yt = await ytmp3("https://youtu.be/R95ILhksGt8")
  console.log(yt)
}
```

# Example Video Downloader

```js
/**
 * @param { String } url
 * @param { String | Number } quality
 */

;async () => {
  const yt = await ytmp4("https://youtu.be/R95ILhksGt8", 1080) //If quality is undefined, it will resolve with 360p quality
  console.log(yt)
}
```

<p>Thanks for using this module</p>

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