{"id":18812546,"url":"https://github.com/jsreport/jsreport-xlsx","last_synced_at":"2025-04-13T21:24:42.731Z","repository":{"id":57286299,"uuid":"45618714","full_name":"jsreport/jsreport-xlsx","owner":"jsreport","description":"jsreport recipe rendering excels directly from open xml","archived":false,"fork":false,"pushed_at":"2021-10-12T19:17:49.000Z","size":1646,"stargazers_count":8,"open_issues_count":10,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T11:43:35.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jsreport.net/learn/xlsx","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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-05T15:05:47.000Z","updated_at":"2021-10-12T19:17:53.000Z","dependencies_parsed_at":"2022-09-09T23:11:42.684Z","dependency_job_id":null,"html_url":"https://github.com/jsreport/jsreport-xlsx","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-xlsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-xlsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-xlsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-xlsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsreport","download_url":"https://codeload.github.com/jsreport/jsreport-xlsx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248442689,"owners_count":21104240,"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:34:05.460Z","updated_at":"2025-04-13T21:24:42.711Z","avatar_url":"https://github.com/jsreport.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**\n--\n\n# jsreport-xlsx\n\n[![NPM Version](http://img.shields.io/npm/v/jsreport-xlsx.svg?style=flat-square)](https://npmjs.com/package/jsreport-xlsx)\n[![Build Status](https://travis-ci.org/jsreport/jsreport-xlsx.png?branch=master)](https://travis-ci.org/jsreport/jsreport-xlsx)\n\n\u003e jsreport recipe which renders excel reports based on uploaded excel templates by modifying the xlsx source using predefined templating engine helpers\n\nSee the docs https://jsreport.net/learn/xlsx\n\n## Installation\n\n\u003enpm install jsreport-xlsx\n\n## jsreport-core\n\n```js\nvar fs = require('fs')\nvar jsreport = require('jsreport-core')()\njsreport.use(require('jsreport-xlsx')())\njsreport.use(require('jsreport-handlebars')())\n\njsreport.init().then(function () {\n  return jsreport.render({\n    template: {\n      recipe: 'xlsx',\n      engine: 'handlebars',\n      content: '{{{xlsxPrint}}}',\n      xlsxTemplate: {\n        content: fs.readFileSync('Book1.xlsx').toString('base64')\n      }\n    }\n  }).then(function (report) {\n    report.stream.pipe(fs.createWriteStream('out.xlsx'))\n  })\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-xlsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsreport%2Fjsreport-xlsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-xlsx/lists"}