Pandoc 1.12.4.2 Node.js wrapper that makes it seamlessly available as a local dependency on OS X, Linux, and Windows.
If you need to convert files from one markup format into another, pandoc is your swiss-army knife.
$ npm install --save pandoc-bin
var execFile = require('child_process').execFile;
var optipng = require('pandoc-bin').path;
execFile(optipng, ['-v'], function (err, stdout, stderr) {
console.log('Pandoc version:', stdout.match(/\d+\.\d+\.\d+(\.\d+)?/)[0]);
});
$ npm install --global pandoc-bin
$ pandoc --help
Everything excluding the binaries licensed under the MIT license.
Pandoc is licensed under the GPL v2 and copyright John MacFarlane and the Contributing Authors.