jsreport-wkhtmltopdf

2.3.0 • Public • Published

jsreport-wkhtmltopdf

NPM Version License Build Status

jsreport recipe for rendering pdf using wkhtmltopdf

Installation

npm install jsreport-wkhtmltopdf

Usage

To use recipe in for template rendering set template.recipe=phantom-wkhtmltopdf in the rendering request.

{
  template: { content: '...', recipe: 'wkhtmltopdf', enginne: '...', wkhtmltopdf: { ... } }
}

See the docs https://jsreport.net/learn/wkhtmltopdf

jsreport-core

You can apply this extension also manually to jsreport-core

var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-wkhtmltopdf')())

Package Sidebar

Install

npm i jsreport-wkhtmltopdf

Weekly Downloads

34

Version

2.3.0

License

MIT

Unpacked Size

77.6 kB

Total Files

15

Last publish

Collaborators

  • pofider
  • bjrmatos