node-youtube-dldeprecated

A youtube-dl downloading interface for Node

Usage no npm install needed!

<script type="module">
  import nodeYoutubeDl from 'https://cdn.skypack.dev/node-youtube-dl';
</script>

README

Node-Youtube-DL

Node-Youtube-DL is a youtube-dl downloader interface for Node. It works with streams so you can pipe the output in an HTTP connection or a FileSystem or a stream of your choice.

Hello World

Node

let YTDL = require('node-youtube-dl')
YTDL.download('nkqVm5aiC28', '140').then(function(Stream){
  Stream.pipe(FS.createWriteStream('/tmp/song'))
}).catch(function(){
  console.log(arguments[0])
})

API

class YTDL{
  static download(ID, Quality)
}

License

This project is licensed under the terms of MIT License. See the License file for more info.