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