Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 754 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 754 Bytes

Excel.js Build Status

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

Install

npm install excel

Use

var parseXlsx = require('excel');

parseXlsx('Spreadsheet.xlsx', function(err, data) {
  if(err) throw err;
    // data is an array of arrays
});

If you have multiple sheets in your spreadsheet,

parseXlsx('Spreadsheet.xlsx', '2', function(err, data) {
	if(err) throw err;
    // data is an array of arrays
});

Test

Run npm test

MIT License.

Thanks to all other contributors.