Reputation: 668
I have application/vnd.ms-excel (xls) object in memory. No option to save it to disk. I need to parse it but all the libraries I found are taking file path as a parameter.
Any experience/ideas what to use to process the content of the xls?
Thanks
Upvotes: 1
Views: 1682
Reputation: 668
So https://github.com/SheetJS/js-xlsx worked for me:
var xlsx = require('xlsx');
var workbook = xlsx.read(data.Body, {type:"buffer"});
Upvotes: 3