pandoc-bin

0.2.0 • Public • Published

pandoc-bin Build Status

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.

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.

Dependencies (3)

Dev Dependencies (3)

Package Sidebar

Install

npm i pandoc-bin

Weekly Downloads

5

Version

0.2.0

License

MIT

Last publish

Collaborators

  • tosh.goodson