easy-yt-dlp
v0.7.2
Published
NPM library for easy usage of yt-dlp
Downloads
10
Readme
easy-yt-dlp
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.
Links
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
- Write code
- Commit & Push
npm version patch
npm publish
Use
yarn link
to test this library locally in other projects before publishing