DEV Community

Discussion on: How to convert XLSX to JSON

Collapse
 
aminmansuri profile image
hidden_dude

I'm assuming your choice of type: "buffer" was due to the fact that it won't load all in memory at once?

It would be nice to be able to write the JSON without having to store the entire file in RAM as well. Because in multi-user applications that would end creating a scalability issue.

Collapse
 
lachouri profile image
Ludivine A

Hi ! Thank you for your feedback !
When I wrote that article, I needed a method to convert one file once in a while and I didn't think about scalability.
But you're right, this method can certainly be improved greatly !
I will definitly look into that 🤔