If you want to read an XLSX file and just get the first sheet in that file using js-xlsx, you can use this snippet:
const XLSX = require('xlsx'); const table = XLSX.readFile('mytable.xlsx'); // First sheet is extracted here const sheet = table.Sheets[table.SheetNames[0]];