jsreport-handlebars
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/jsreport-handlebars package

2.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i jsreport-handlebars

Weekly Downloads

1,044

Version

2.1.0

License

LGPL

Unpacked Size

13.5 kB

Total Files

7

Last publish

Collaborators

  • bjrmatos
  • pofider