Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including youtube-mp3 with all npm packages installed. Try it out:

var youtubeMp3 = require("youtube-mp3")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

youtube-mp3 v0.1.2

Download Youtube videos as mp3 using http://youtube-mp3.org

youtube-mp3

Download the audio from Youtube videos as mp3 file. This module uses youtube-mp3.org for the conversion.

Usage

var mp3 = require('youtube-mp3');

mp3.download('https://www.youtube.com/watch?v=bRmSMdQnfAc', 'LXJS 2013 Keynote', function(err) {
    if(err) return console.log(err);
    
    console.log('Download completed!');
});

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free