ExcelJS

Read, manipulate and write spreadsheet data and styles to XLSX and JSON.

https://github.com/guyonroche/exceljs

Writing XLSX

// write to a file
var workbook = createAndFillWorkbook();
workbook.xlsx.writeFile(filename)
    .then(function() {
        // done
    });

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress