https://github.com/isc30/xlnt-wasm
WebAssembly bindings for XLNT library
https://github.com/isc30/xlnt-wasm
Last synced: about 1 year ago
JSON representation
WebAssembly bindings for XLNT library
- Host: GitHub
- URL: https://github.com/isc30/xlnt-wasm
- Owner: isc30
- Created: 2018-09-06T20:15:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-07T09:44:41.000Z (almost 6 years ago)
- Last Synced: 2025-04-24T06:53:03.388Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 1.33 MB
- Stars: 23
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WebAssembly bindings for the [XLNT library](https://github.com/tfussell/xlnt)
## NPM
https://www.npmjs.com/package/xlnt
## Blog posts
I'm writing a series of posts in my blog about porting C++ to WASM.
You can take a look here: [Excel-ent experiment with WebAssembly](https://blog.codeisc.com/2018/08/28/xlnt-wasm-intro.html)
## Demo
[Simple test and proof of concept in JavaScript that exports a HTML table to excel (with rowspan and colspan)](http://isc30.github.io/xlnt-wasm/demo.html)
```html
load_xlnt().then(function(xlnt)
{
book = new xlnt.workbook();
sheet = book.active_sheet();
sheet.using_cell("B2", c => c.set_value("asd"));
book.download("demo.xlsx");
sheet.delete();
book.delete();
});
```