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 mp3info with all npm packages installed. Try it out:

var mp3info = require("mp3info")

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

mp3info v0.0.9

NodeJS native bindings to mp3info.

node-mp3info Build Status

nodejs native bindings to mp3info that compile and run under MSVC++


node-mp3info comes bundled with its own copy of mp3info application (v. 8.5a), so there's no need to have mp3info installed on your system.

Unused method curs_addparam was completely removed and some includes were reorganized to provide compatibility with MSVC++ compiler.

Thanks to the following you can compile and install node-mp3info using npm:

npm install mp3info

node-gyp environment setup


Here's an example of how node-mpg123n can be used to start and stop a single song. The path to an mp3 file is passed from command-line.

var mp3info = require('mp3info');

mp3info(process.argv[2], function(err, data) {
    if (err) {
        console.log("ERROR:", err);



  • mp3info(path, fn);

Projects using mp3info

Maracuyá - Virutal Jukebox

  • contains precompiled version of mp3info
  • embeds nodejs
  • utilizes a simple yet powerful interface


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