Open Dilipv500 opened 5 years ago
Hi @Dilipv500, can you explain better what went wrong? Did you get some error? Were the headers shown as letters? Posting the output here can be helpful.
when ever i tried to retrieve the data if the Excel File(Header consists of Cell comment) then the execution stops automatically.
without comments in Excel Cell Headers then it's working fine.
could you please tell me if anything i'm missing?
Code:-
var excelToJson = require('convert-excel-to-json'); var result =await excelToJson({ sourceFile: 'data.xlsx', columnToKey: { '*': '{{columnHeader}}' } });