Closed aboodrazeq closed 3 years ago
Hi @aboodrazeq maybe this config is what you are looking for:
https://github.com/DiegoZoracKy/convert-excel-to-json#only-to-specific-sheets
Maybe like a sheet named "sheet1", after convert to JSON, the name changed to "newSheet"? Thx.
I need this too, sheet name can be dynamic
Never mind. We can use Object.keys(result)
to get the sheet name then use it to filter the response like result[Object.keys(result)[0]]
I believe that the way @Marcosmaliki brought would be the best one to go. Although we can develop this as a new feature, it's so simple to be done on a post processing snippet of code that maybe isn't worth to think of it as a new feature. I'm going to close this issue but if someone wants to get back to this conversation we can reopen it.
everything ok I read all data and the header but I want to remove the sheet or change the name of it thank you