Skip to content

Spencerx/excel2table

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Excel2table

npm version

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.

result

How to use

  • import the library:
import "excel2table";
  • call the render function:
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

License

MIT

About

Convert Excel files to HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.0%
  • HTML 5.9%
  • CSS 5.1%