Skip to content

jsreport/jsreport-jsrender

Repository files navigation

⚠️ This repository has been moved to the monorepo jsreport/jsreport

jsreport-jsrender

NPM Version Build Status

jsrender templating engine for jsreport. See the docs https://jsreport.net/learn/jsrender

Installation

npm install jsreport-jsrender

Usage

To use jsrender in for template rendering set template.engine=jsrender in the rendering request.

{
  template: { content: '...', recipe: '...', engine: 'jsrender' }
}

jsreport-core

You can apply this extension also manually to jsreport-core

var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-jsrender')())