playlist-mp3-stream-downloader

<h1 align="center">Welcome to playlist-downloader 👋</h1> <p> <img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" /> </p>

Usage no npm install needed!

<script type="module">
  import playlistMp3StreamDownloader from 'https://cdn.skypack.dev/playlist-mp3-stream-downloader';
</script>

README

Welcome to playlist-downloader 👋

Version

Download youtube playlists and get a stream for each video as .mp3 file

const downloader = new PlaylistStreamDownloader(youtubeApiKey, tempFileDirectory);
const downloads = await downloader.downloadPlaylist(playlistId);

for(let download of downloads){
    const {stream, filePath, metadata, position, thumbnail} = download;
    //...
    download.dispose(); //Remove generated file
}

Install

npm i playlist-mp3-stream-downloader

Run tests

npm run test

Author

👤 Chaily

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator