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

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i jsreport-handlebars

    Weekly Downloads

    1,079

    Version

    2.1.0

    License

    LGPL

    Unpacked Size

    13.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • bjrmatos
    • pofider