@jonny/pandoc-bin

1.0.3 • Public • Published

pandoc-bin Build Status

Super easy format conversions in node using pandoc. No additional installations needed. macOS and Linux supported.

Install

$ npm install --save pandoc-bin

Usage

const pandoc = require('pandoc-bin');

await pandoc({input: '*yo*'});
//=> '<p><em>yo</em></p>'

await pandoc(['--from=html', '--to=latex'], {input: 'e = mc<sup>2</sup>'})
//=> 'e = mc\\textsuperscript{2}'

Warning

The binary included in this module is >80MB. You may experience slower npm install's.

API

pandoc(input, [arguments], [options])

The API is the same as execa. Go to the project to see how to use ut.

License

MIT © Jonny Burger

Readme

Keywords

none

Package Sidebar

Install

npm i @jonny/pandoc-bin

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • jonny