4.0.0 • Published 9 months ago

@jsreport/jsreport-ejs v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@jsreport/jsreport-ejs

NPM Version

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')())