trevordixon / excel.js

Native node.js Excel file parser. Only supports xlsx for now.
MIT License
266 stars 85 forks source link

Excel.js Build Status

Native node.js Excel file parser. Only supports *.xlsx files for now.

Install

npm install excel

Use

import parseXlsx from 'excel';

parseXlsx('Spreadsheet.xlsx').then((data) => {
  // data is an array of arrays
});

If you have multiple sheets in your spreadsheet,

parseXlsx('Spreadsheet.xlsx', '2').then((data) => {
  // data is an array of arrays
});

Test

Run npm test

MIT License.

Thanks to all other contributors.