npm.io
2.8.6 • Published 4 years ago

jsreport-html-to-xlsx

Licence
LGPL
Version
2.8.6
Deps
7
Size
865 kB
Vulns
1
Weekly
0
Stars
12

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