You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note:fast-xml-parser has a different default output format than xml2js. Configuration options exist to match the xml2js output style — see parsing options docs.
xml2jsis a widely used XML parser (~25M weekly downloads) that depends onsaxandxmlbuilder. It has been largely inactive in terms of maintenance.fast-xml-parseris a zero-dependency, actively maintained, and significantly faster alternative (~35M weekly downloads).Why replace?
xml2jspulls insaxandxmlbuilderas dependencies, adding to install sizexml2jshas received minimal maintenance updatesfast-xml-parserhas zero dependencies, is faster, and is already the most downloaded XML parser on npmReplacement
Replace
xml2js→fast-xml-parserDependents
Progress