npm.io
1.0.1 • Published 6 years ago

excel

Licence
MIT
Version
1.0.1
Deps
3
Size
83 kB
Vulns
8
Weekly
0
Stars
268

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.

Keywords