nashwaan/xml-js
Converter utility between XML text and Javascript object / JSON text. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3786
- days_rel: n/a
- days_push: 768
- n_releases_24m: 0
Adoption not part of the score
1341 stars · 179 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library that converts XML text to JavaScript objects or JSON and vice versa. It preserves element order, is fully XML compliant (attributes, CDATA, comments, DOCTYPE, declarations), and produces reversible conversions.
Use cases
- convert xml to json in nodejs
- convert json to xml
- parse xml preserving element order
- xml parser with cdata support
- lossless xml json round-trip conversion
- transform xml config files to javascript objects
When to choose
- you need reversible, lossless XML↔JSON conversion
- element order in XML documents must be preserved
- you need full XML compliance including CDATA, DOCTYPE, and processing instructions
- you want a lightweight library with minimal dependencies
When to avoid
- you need extremely fast streaming parsing of huge XML files
- you want compact merged output like most xml2js libraries rather than order-preserving structure
- you need XPath or XML schema validation
Facets
library · maturity maintenance
parser serialization parsers developer-tools web-development cross-platform xml json xml2js js2xml cdata converter lossless-conversion nodejs javascript
2 sources
- readme: https://github.com/nashwaan/xml-js · fetched 2026-08-28 · e855de479f45
- registry_npm: https://registry.npmjs.org/xml-js · fetched 2026-08-29 · 1df51ae88b32
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nashwaan/xml-js | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem