Yet another YouTube downloading module. Written with only Javascript and a node-friendly streaming interface. Based on node-ytdl-core.
const fs = require('fs');
const ytdl = require('sachibot-youtubedl');
ytdl('http://www.youtube.com/watch?v=aqz-KE-bpKQ')
.pipe(fs.createWriteStream('video.mp4'));
npm install sachibot-youtubedl@latest
Or for Yarn users:
yarn add sachibot-youtubedl@latest
npm test