Skip to content

isc30/xlnt-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssembly bindings for the XLNT library

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

Demo

Simple test and proof of concept in JavaScript that exports a HTML table to excel (with rowspan and colspan)

<script src="./xlnt.js"></script>
<script>
    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();
    });
</script>

About

WebAssembly bindings for XLNT library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published