Android String Resource XML Parser
JSON →rdotjson is a Node.js library dedicated to parsing Android String Resource XML files (e.g., `strings.xml`) into a structured JavaScript object. It mirrors Android's `R` class access patterns, organizing resources under keys like `R.string`, `R.array`, `R.bool`, `R.color`, `R.dimen`, and `R.integer`. The library supports conversion of these resources into native JavaScript primitives or an object-wrapped format via `objectMode`. The current stable version is 2.0.0, and it maintains an active release cadence, as indicated by ongoing GitHub activity. Its key differentiators include extensive configuration options for handling XML comments, excluding specific keys with wildcards, preserving raw XML, and offering integrated formatters for JSON and CSV output. A robust command-line interface is also provided for direct file processing, making it suitable for build pipelines. It is designed for Node.js environments running version 18.17 or newer.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · BD · VN · 🇮🇳 India