playlist-maker

Generate a youtube playlist from a string with URLs

Usage no npm install needed!

<script type="module">
  import playlistMaker from 'https://cdn.skypack.dev/playlist-maker';
</script>

README

playlist-maker

A simple node.js module to generate a youtube playlist from a string of whitespace or comma separated video URLs

Installation:

 npm install playlist-maker --save

Usage

var playlistMaker = require("playlist-maker);
var videos = "https://www.youtube.com/watch?v=KbRtA_brCQ0,https://www.youtube.com/watch?v=k05i8bT_Pkg,https://www.youtube.com/watch?v=b5X7ZiAOkMU";

playlistMaker.getPlaylist(videos, function(result){
    console.log("Here's your playlist:",result);
});

Example:

See:

Or see it running here: