tfk-json-to-xlsx
Write an xlsx file from json data.
This is basically just the compiled source from node-xlsx-writestream with an updated version of https://github.com/archiverjs/node-archiver
Usage
const xlsx = require('tfk-json-to-xlsx') const data = [ { 'Name': 'Bob', 'Location': 'Sweden' }, { 'Name': 'Alice', 'Location': 'France' }] xlsx.write('mySpreadsheet.xlsx', data, function (error) { // Error handling here if (error) { console.error(error) }})