0.1.3 • Published 7 years ago

@focus21/pandoc-bin v0.1.3

Weekly downloads
15
License
MIT
Repository
github
Last release
7 years ago

pandoc-bin Build Status

Pandoc 1.19.2.1 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.

Install

$ npm install --save pandoc-bin

Usage

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]);
});

CLI

$ npm install --global pandoc-bin
$ pandoc --help

License

Everything excluding the binaries licensed under the MIT license.

Pandoc is licensed under the GPL v2 and copyright John MacFarlane and the Contributing Authors.