Created
May 15, 2018 11:43
-
-
Save Nedudi/683c2492bc3a0a5117637254e9a928a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var filename = "write.xlsx"; | |
var data = [[1,2,3],[true, false, null, "sheetjs"],["foo","bar",new Date("2014-02-19T14:30Z"), "0.3"], ["baz", null, "qux"]] | |
var ws_name = "Missed Calls"; | |
var wb = XLSX.utils.book_new(), ws = XLSX.utils.aoa_to_sheet(data); | |
XLSX.utils.book_append_sheet(wb, ws, ws_name); | |
XLSX.writeFile(wb, filename); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment