jsreport recipe which is rendering pdf using apache fop
See https://jsreport.net/learn/fop-pdf
npm install jsreport-fop-pdf
To use recipe
in for template rendering set template.recipe=fop-pdf
in the rendering request.
{
template: { content: '...', recipe: 'fop-pdf', enginne: '...' }
}
You can apply this extension also manually to jsreport-core
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-fop-pdf')())