node-pdf-builder
Requires wkhtmltopdf.
Installation
npm install pdf-builder
Example
var PDF =
Features
- Supports multiple pages
- Supports global and page-level
wkhtmltopdf
options - Supports custom commands - use the helper functions as much or as little as you want
- Suppresses
wkhtmltopdf
progress messages and only returns actual page outputs and errors - Supports passing actual functions as
runScript
values, withfnInput
as its input - Supports streaming
TODO
.addTableOfContents()
Acknowledgments
- Inspired by (and some internal helper functions lifted from) devongovett/node-wkhtmltopdf