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

2.4.0 • Public • Published

jsreport-templates

NPM Version Build Status

Templates extension hooks to the rendering process and finds the template in the persistent storage if the request identifies the template by its name or shortid.

jsreport.render({ template: { name: 'name' } })
jsreport.render({ template: { shortid: 'shortid' } })

It also extends jsreport studio and its REST API with odata endpoint:

GET http://jsreport-host/odata/templates

jsreport-core

You can apply this extension also manually to jsreport-core

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.4.0
    397
    • latest
  • 1.0.0
    1
    • next

Version History

Package Sidebar

Install

npm i jsreport-templates

Weekly Downloads

510

Version

2.4.0

License

LGPL

Unpacked Size

29.4 kB

Total Files

10

Last publish

Collaborators

  • bjrmatos
  • pofider