UNPKG

excel-stream

Version:

convert a stream of xls or xlsx into json on the command line or in node

10 lines (8 loc) 207 B
// stream rows from the sheet named 'Your sheet name' var excel = require('./index'); var fs = require('fs'); fs.createReadStream('bmw.xls') .pipe(excel({ sheet: 'Mejoras' })) .on('data', console.log);