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