@jsreport/jsreport-ejs

4.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @jsreport/jsreport-ejs

Weekly Downloads

131

Version

4.0.1

License

MIT

Unpacked Size

48.1 kB

Total Files

10

Last publish

Collaborators

  • pofider
  • bjrmatos