@jsreport/jsreport-ejs
v4.0.1
Published
jsreport ejs templating engine
Downloads
609
Readme
@jsreport/jsreport-ejs
EJS templating engine for jsreport. See the docs https://jsreport.net/learn/ejs
Installation
npm install @jsreport/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/jsreport-core')()
jsreport.use(require('@jsreport/jsreport-ejs')())