The `xml-parser` library (current version 1.2.1) is a lightweight, non-compliant XML parser designed for parsing basic XML responses, primarily as an alternative to heavier, compile-time-intensive XML libraries like `libxml`. Its core differentiator is its simplicity and minimal footprint, making it suitable for niche use cases where full XML specification adherence is not required. It focuses on quickly extracting data from well-known, simple XML structures rather than validating or comprehensively parsing complex or edge-case XML documents. The package has seen no updates in over six years, indicating it is no longer actively maintained and should be used with caution, understanding its limitations regarding XML standard compliance and potential security implications of unpatched vulnerabilities. It primarily targets Node.js environments.
Verified import paths — ran on the pinned version, not inferred.
This library is CommonJS-only and does not support ES module imports. The default export is the parsing function.
Demonstrates parsing a sample SOAP XML response and pretty-printing the resulting JavaScript object structure.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.