{"id":18812505,"url":"https://github.com/jsreport/jsreport-templates","last_synced_at":"2025-04-13T21:23:51.789Z","repository":{"id":57286286,"uuid":"45631770","full_name":"jsreport/jsreport-templates","owner":"jsreport","description":"jsreport extension adding support for storing templates","archived":false,"fork":false,"pushed_at":"2021-11-24T18:20:29.000Z","size":710,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T11:43:34.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsreport.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-05T18:43:50.000Z","updated_at":"2021-11-24T18:20:32.000Z","dependencies_parsed_at":"2022-09-09T23:12:01.199Z","dependency_job_id":null,"html_url":"https://github.com/jsreport/jsreport-templates","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsreport","download_url":"https://codeload.github.com/jsreport/jsreport-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654027,"owners_count":21140236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T23:33:51.374Z","updated_at":"2025-04-13T21:23:51.753Z","avatar_url":"https://github.com/jsreport.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**⚠️ This repository is deprecated since jsreport v3, its features has been integrated directly to [@jsreport/jsreport-core](https://github.com/jsreport/jsreport/tree/master/packages/jsreport-core) and [@jsreport/jsreport-studio](https://github.com/jsreport/jsreport/tree/master/packages/jsreport-studio)**\n--\n\n# jsreport-templates\n[![NPM Version](http://img.shields.io/npm/v/jsreport-templates.svg?style=flat-square)](https://npmjs.com/package/jsreport-templates)\n[![Build Status](https://travis-ci.org/jsreport/jsreport-templates.png?branch=master)](https://travis-ci.org/jsreport/jsreport-templates)\n\nTemplates 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.\n```js\njsreport.render({ template: { name: 'name' } })\njsreport.render({ template: { shortid: 'shortid' } })\n```\n\nIt also extends [jsreport studio](https://github.com/jsreport/jsreport-express) and its REST API with odata endpoint:\n\n\u003e `GET` http://jsreport-host/odata/templates\n\n## jsreport-core\nYou can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)\n\n```js\nvar jsreport = require('jsreport-core')()\njsreport.use(require('jsreport-templates')())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsreport%2Fjsreport-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-templates/lists"}