@ju-bezdek/jsreport-xlsx-template
v1.1.0
Published
jsreport xlsx-template extension
Downloads
2
Readme
jsreport-xlsx-template
jspreport recipe using xlsx-template
See documentation for xlsx-template
Configuration
you must include template file into options:
Most simplistic use
return jsreport.render({
template: {
recipe: "xlsx-template",
"xlsx-template":{
templateAsset:
{content: fs.readFileSync("yourTemplate.xlsx")}
}
},
data: {"some":"data"}
}).then((output)=>{
fs.writeFileSync("result.xlsx",output.content);
});
TODO: Add support for jsreport-studio