Saturday 27 April 2019

Stream read large XML File with node

Hi, I'm about to work on project where I have to handle large xml files (about ~80-100 MB). I need to read the file, parse it, pick the data that I need and write it to a mySQL database. Since thexml files are very large, the whole would take a long time or even not work if there is not enough memory to load the files. The solution should therefore probably be a stream. I have already googled but all npm packages seem to be no longer maintained, outdated or not well documented. Also, all the articles I have found on the subject are outdated. Can someone recommend a good tutorial or a good npm package for this problem?

Submitted April 27, 2019 at 11:23PM by xBlackShad0w

No comments:

Post a Comment