REPL

Write code and the workbook redraws as you type. The library’s functions are in scope and wb is an empty workbook from createWorkbook(). Nothing leaves this tab: the code runs here, workbookToBytes saves the result, loadWorkbook reads those bytes back, and the grid is drawn from what it read. The download is the same bytes.

Code

Preview

Building…

The grid draws values, number formats, fonts, fills, borders, merges, freeze panes, and column widths. Conditional formats, data validation, and comments are in the download, not the grid.