# Leonidas-from-XIV/node-xml2js

XML to JavaScript object converter.

Repository: https://github.com/Leonidas-from-XIV/node-xml2js
Canonical: https://ross.abutalabs.com/products/node-xml2js
Language: CoffeeScript
License: MIT
License Family: permissive
Topics: coffeescript, parsing, xml-parser, xml, xml2json, xml2js, javascript, nodejs, node-js, node
Last push: 2026-04-30T09:04:18+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 80, release rhythm 35, longevity 100
- inputs: {"age_days": 5891, "days_push": 125, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4965, forks 602 (observed 2026-08-28T04:09:03.983701+00:00)

## What it is
A Node.js library that converts XML into JavaScript objects and back, built on sax-js and xmlbuilder-js. It supports simple callback and promise-based parsing with configurable options.

## Use cases
- parse xml files into javascript objects in node
- convert xml api responses to
- build xml from javascript objects
- parse xml config files
- convert xml to  in a node script

## When to choose
- you need simple XML-to-JS-object conversion in Node.js without a full DOM
- you need bidirectional XML/JS conversion
- you want a lightweight, promise-friendly parser

## When to avoid
- you need a full DOM parser or XPath queries (use jsdom or similar)
- you need extremely high-performance or streaming XML processing
- you are not in a JavaScript/Node.js environment

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: parsers, developer-tools, web-development
- platform: -
- tags: xml, xml2, coffeescript, sax, nodejs, javascript

## Member repositories
- Leonidas-from-XIV/node-xml2js (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.983701+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:46.627130+00:00, confidence not recorded.
  - readme: https://github.com/Leonidas-from-XIV/node-xml2js (fetched 2026-08-28T04:09:03.983701+00:00, sha 03ffe767cff5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
