https://github.com/jsreport/jsreport-html-to-xlsx
jsreport recipe capable of converting html into excel
https://github.com/jsreport/jsreport-html-to-xlsx
Last synced: about 1 year ago
JSON representation
jsreport recipe capable of converting html into excel
- Host: GitHub
- URL: https://github.com/jsreport/jsreport-html-to-xlsx
- Owner: jsreport
- License: lgpl-3.0
- Created: 2015-11-05T17:49:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T17:48:04.000Z (over 4 years ago)
- Last Synced: 2025-04-07T08:36:04.162Z (about 1 year ago)
- Language: JavaScript
- Size: 2.19 MB
- Stars: 12
- Watchers: 5
- Forks: 4
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**
--
# jsreport-html-to-xlsx
[](https://npmjs.com/package/jsreport-html-to-xlsx)
[](https://travis-ci.org/jsreport/jsreport-html-to-xlsx)
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.
```js
{
template: { content: '...', recipe: 'html-to-xlsx', enginne: '...' }
}
```
## jsreport-core
You can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)
```js
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-html-to-xlsx')())
```