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