You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
I use XlsxPopulate to generate and download XLSX file.
In example to download with Express
router.get("/download",function(req,res,next){// Open the workbook.XlsxPopulate.fromFileAsync("input.xlsx").then(workbook=>{// Make edits.workbook.sheet(0).cell("A1").value("foo");// Get the outputreturnworkbook.outputAsync();}).then(data=>{// Set the output file name.res.attachment("output.xlsx");// Send the workbook.res.send(data);}).catch(next);});
I tried in simple:json-routes, but don't work
The text was updated successfully, but these errors were encountered:
I use
XlsxPopulate
to generate and downloadXLSX
file.In example to download with
Express
I tried in
simple:json-routes
, but don't workThe text was updated successfully, but these errors were encountered: