/jsreport-react

jsreport react templating engine

Primary LanguageJavaScriptGNU Lesser General Public License v3.0LGPL-3.0

jsreport-handlebars

NPM Version Build Status

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

Installation

npm install jsreport-handlebars

Usage

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

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

jsreport-core

You can apply this extension also manually to jsreport-core

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