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


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


var mp3 = require('youtube-mp3');'', 'LXJS 2013 Keynote', function(err) {
    if(err) return console.log(err);
    console.log('Download completed!');


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