jsreport-handlebars
handlebars templating engine for jsreport. See the docs https://jsreport.net/learn/handlebars
Installation
npm install jsreport-handlebars
Usage
To use handlebars
in for template rendering set template.engine=handlebars
in the rendering request.
{
template: { content: '...', recipe: '...', engine: 'handlebars' }
}
jsreport-core
You can apply this extension also manually to jsreport-core
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-handlebars')())