1.0.3 • Published 7 years ago

@jonny/pandoc-bin v1.0.3

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

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

1.0.3

7 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago