jsreport-handlebars
v2.1.0
Published
jsreport handlebars templating engine
Downloads
10,959
Readme
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')())