DiegoZoracKy / convert-excel-to-json

Convert Excel to JSON, mapping sheet columns to object keys.
MIT License
287 stars 91 forks source link

Get worksheet list. #32

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi, Is there any method to find all worksheets name from the source file(excel file)

ghost commented 5 years ago

There is an issue like if I passed a Worksheet name, that does not exist in the source file. Then also return blank data. I think it should be handled by this lib. Let me know when it will be updated.

DiegoZoracKy commented 5 years ago

You can get all sheets names from the object returned by the lib. Object.keys(resultObjectFromExcelToJson) will give you that.

ghost commented 5 years ago

Thanks!! I got it.