/jsreport-html-to-xlsx

jsreport recipe capable of converting html into excel

Primary LanguageJavaScriptGNU Lesser General Public License v3.0LGPL-3.0

jsreport-html-to-xlsx

NPM Version Build Status jsreport recipe capable of converting html into excel

See https://jsreport.net/learn/html-to-xlsx

Installation

npm install jsreport-html-to-xlsx

Usage

To use recipe in for template rendering set template.recipe=html-to-xlsx in the rendering request.

{
  template: { content: '...', recipe: 'html-to-xlsx', enginne: '...' }
}

jsreport-core

You can apply this extension also manually to jsreport-core

var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-html-to-xlsx')())