⚠️ This repository has been moved to the monorepo jsreport/jsreport
EJS templating engine for jsreport. See the docs https://jsreport.net/learn/ejs
npm install 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-core')()
jsreport.use(require('jsreport-ejs')())