Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

jsreport-templates

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

Keywords

install

npm i jsreport-templates

Downloadsweekly downloads

1,484

version

2.0.0

license

LGPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar