xlnt
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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>

/xlnt/

    Package Sidebar

    Install

    npm i xlnt

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    1.18 MB

    Total Files

    5

    Last publish

    Collaborators

    • ivansanz