node-xml2js
node-xml2js copied to clipboard
Migrate to xmlbuilder2?
The creator of the original xmlbuilder package, @oozcitak has reworked it to create xmlbuilder2. Should we migrate to it?
Useful resources
// @Leonidas-from-XIV
What would be the advantages for xml2js?
@Leonidas-from-XIV https://oozcitak.github.io/xmlbuilder2/upgrading-from-xmlbuilder.html#comparison-with-xmlbuilder
I looked at this and couldn't find any tangible improvements, hence my question.
Major improvement: get rid of circular dependency ! (XMLNode.js -> XMLxxxx.js -> XMLNode.js => rollup fail)
It turned out to be simplest to just migrate a whole library I never touched before from xml2js to xmlbuilder2 to get rollup to work. So, in a way, there truly aren't any advantages for xml2js.