From the example from js-xlsx, we know that after reading a file, we can add new data into that particular sheet:
var XLSX = require('xlsx');
var wb = XLSX.readFile('sheetjs.xlsx');
add_cell_to_sheet(wb.Sheets.SheetJS, "F6", 12345);
XLSX.writeFile('sheetjs-new.xlsx', wb);
But how to do if my data is not just a single cell? I have a json data that I would like to add into the file that I read. How to add the json data?