XLSXParser
The XLSXParser can parsing Microsoft Excel and Google Spreadsheet.
Installation
npm install --save xlsx-parser
Usage
Quick start
excel
example sheet.xlsx
A | B | C | D | |
---|---|---|---|---|
1 | key | name | number | other |
2 | aa1 | cat | 1 | |
3 | bb1 | dog | 2 | sleep |
4 | cc1 | mouse | 3 | run |
Sheet1
var xlsxParser = ;var opts = sheets: 1 ;elsxPaserexcel;
spreadsheet
example spreadsheet
A | B | C | D | |
---|---|---|---|---|
1 | key | name | number | other |
2 | aa1 | cat | 1 | |
3 | bb1 | dog | 2 | sleep |
4 | cc1 | mouse | 3 | run |
Sheet1
var xlsxParser = ; // setupxlsxPaeserspreadsheet; // spreadsheet idvar SPREADSHEET_KEY = '1YXVzaaxqkPKsr-excIOXScnTQC7y_DKrUKs0ukzSIgo';// worksheet idsvar opts = sheets: 'od6' ;elsxPaserspreadsheet;
Contribution
- Fork it ( https://github.com/iyu/xlsx-parser/fork )
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
npm test; npm run-script jshint
command and confirm that it passes - Create new Pull Request