For myself, I'm using this function async function readDataFromExcel(file: File): Promise<any[]> { return new Promise((resolve, reject) => { const fileReader = new FileReader(); fileReader.onload = () => { const arrayBuffer = <any> fi...

Markdown supported · ⌘↵ to post
Leon
I think SheetJS can read your
datadirectly:const workbook = XLSX.read(data, { type: 'array' });