@jsreport/jsreport-ejs

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

/@jsreport/jsreport-ejs/

    Package Sidebar

    Install

    npm i @jsreport/jsreport-ejs

    Weekly Downloads

    105

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    48.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • pofider
    • bjrmatos