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