Using excel4node I am able to write the file to the harddrive. But rather I would like to return it as a download without saving the file on the server. I think the following code is required, but unsure how to use it:
wb.writeToBuffer().then(function(buffer) {
console.log(buffer);
});
Does anyone have an idea on this?