1import readXlsxFile from 'read-excel-file' const input = document.getElementById('input') input.addEventListener('change', () => { readXlsxFile(input.files[0]).then((rows) => { // `rows` is an array of rows // each row being an array of cells. })})
1import readXlsxFile from 'read-excel-file'
2const input = document.getElementById('input')
3input.addEventListener('change', () => {
4 readXlsxFile(input.files[0]).then((rows) => {
5 // `rows` is an array of rows // each row being an array of cells.
6 })})