jsreport recipe which is rendering pdf from html using phantomjs
See the docs http://jsreport.net/learn/phantom-pdf
##Installation
npm install jsreport-phantom-pdf
##Usage
To use recipe
in for template rendering set template.recipe=phantom-pdf
in the rendering request.
{
template: { content: '...', recipe: 'phantom-pdf', enginne: '...', phantom: { ... } }
}
##jsreport-core You can apply this extension also manually to jsreport-core
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-phantom-pdf')({ strategy: 'phantom-server' }))