node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

jsreport-html-to-xlsx

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')())