ods parser in node.js not working

1.3k views Asked by At

I am looking for ODS parser in node.js. Currently I am using excel-parser for parsing xls and xlsx but it cant parse ODS files.

I looked for other npm modules but no one is supporting ODS files.

I tried this one but its giving me error "unsupported file type".

Please help.

1

There are 1 answers

0
Nyalotha On

You can try to use xlsx

  if(typeof require !== 'undefined') XLSX = require('xlsx');
  var workbook = XLSX.readFile('test.ods');