gulp-excel2html
gulp-excel2html is a Gulp plugin to convert excel(xlsx) file to HTML
Install
npm install --save-dev gulp-excel2html
Usage
var excel2html = ; gulp
API
===
excel2html(options)
options
- Type:
Object
- Required
- hasDefault
key | type | required | default | summary |
---|---|---|---|---|
tmplFile | string |
Yes | None | The template file path of hogan.js |
resultFile | string |
Not | result.html |
The out put html file name |
dataHandle | Function |
Not | Full excel data of Array | handle the data parse from xlsx file and return object for hogan.js to render html |