https://github.com/dhtmlx/excel2table
Convert Excel files to HTML
https://github.com/dhtmlx/excel2table
Last synced: 9 months ago
JSON representation
Convert Excel files to HTML
- Host: GitHub
- URL: https://github.com/dhtmlx/excel2table
- Owner: DHTMLX
- Created: 2019-02-26T16:18:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T11:33:43.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T06:50:30.599Z (10 months ago)
- Language: JavaScript
- Homepage: https://dhtmlx.com/
- Size: 34.2 KB
- Stars: 51
- Watchers: 15
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Excel2table
-------------
[](https://badge.fury.io/js/excel2table)
Excel2table is a library that will help you to render an Excel file as an HTML table. It uses https://github.com/dhtmlx/excel2json for Excel parsing.

### How to use
```js
import {render} from "excel2table";
render(html_container, data, config);
```
The parameters of the function are the following:
- **html_container** - a CSS locator or an HTML element
- **data** - a file object or a data blob
- **config** - optional, a configuration object { worker, scale }, where
- *worker*: string - an URL for a web worker; CDN is used by default
- *scale*: boolean - defines whether Excel scale is shown
- *sheets*: boolean - defines if sheet selector need to be rendered or not
### License
MIT