jsreport-handlebars
handlebars templating engine for jsreport. See the docs https://jsreport.net/learn/handlebars
Installation
npm install jsreport-handlebars
Usage
To usehandlebars
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-corevar jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-handlebars')())