I'm using npm exceljs to export an .xlsx file. My issue is that instead of saving it to a default directory(./sor.xlsx), I want the .xlsx file to open up and let the user choose where to save the file.
Code:
workbook.xlsx.writeFile("./sor.xlsx") // dont want to specify the path here
.then(function(){
console.log('xls file is written');
});
Any suggestions ?