Open agershun opened 9 years ago
You could also look into if you could use
https://github.com/thinkpad20/sql
and compile the C code via emscripten to asm.js for this part of the library - check out
xlsx has a branch that allows exporting fill and font colors. Passing thought re size of parser, is it possible to make xlsx external to alasql and imported via a separate <script>
or require()
call? That way its loaded only when Excel parsing is required. Perhaps either a parameter that's passed to alasql on initialization or something that alasql can recognize if it already exists in the local or global scope.
xlsx has a branch that allows exporting fill and font colors.
I could not find this branch. Could you provide url? It is a really good news.
The current branch is https://github.com/protobi/js-xlsx. Formats are specified by the .s
attributes in a cell, as in {v: 1.618, s: { numFmt: "0.00", fill: { bgColor: { rgb: "#FFFFAA00"}}}}
Aim to present this a pull request as I complete unit testing, and am monitoring this discussion for issues https://github.com/SheetJS/js-xlsx/issues/128
ExcelJS
https://github.com/guyonroche/exceljs
Reasons:
Jacob
https://github.com/Canna71/Jacob http://dailyjs.com/2015/03/05/jacob/
Reasons: