包详细信息

excel

trevordixon5.9kMIT1.0.1

Simple NodeJS XLSX parser.

excel, xlsx

自述文件

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.