jsreport recipe capable of converting html into excel
See https://jsreport.net/learn/html-to-xlsx
npm install jsreport-html-to-xlsx
To use recipe
in for template rendering set template.recipe=html-to-xlsx
in the rendering request.
{
template: { content: '...', recipe: 'html-to-xlsx', enginne: '...' }
}
You can apply this extension also manually to jsreport-core
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-html-to-xlsx')())