easy-yt-dlp
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

easy-yt-dlp Test and build

NPM library for easy usage of yt-dlp

Depends on and uses yt-dlp. yt-dlp is not included in this package and must be installed separately.

Usage

import { downloadVideo } from 'easy-yt-dlp';

const { createdFilePath } = await downloadVideo({
  ytDlpPath: process.env.YTDLP_PATH,
  link: "https://website.com/watch?v=123",
  outputDir: join(__dirname, "/videos"),
  filename: 'video-file-name',
});

Development workflow

  1. Write code
  2. Commit & Push
  3. npm version patch
  4. npm publish

Use yarn link to test this library locally in other projects before publishing

Readme

Keywords

Package Sidebar

Install

npm i easy-yt-dlp

Weekly Downloads

3

Version

0.7.2

License

MIT

Unpacked Size

41.2 kB

Total Files

25

Last publish

Collaborators

  • vanih