Home

Awesome

⚠️ This repository has been moved to the monorepo jsreport/jsreport

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