# abdolence/x2js

x2js - XML to JSON and back for JavaScript

Repository: https://github.com/abdolence/x2js
Canonical: https://ross.abutalabs.com/products/x2js
Language: JavaScript
License Family: other
Last push: 2022-01-24T17:21:06+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4968, "days_push": 1682, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1004, forks 470 (observed 2026-09-03T02:15:08.752106+00:00)

## What it is
A small, dependency-free JavaScript library that converts XML to JSON (JavaScript objects) and back. It supports configurable attribute prefixes, array access forms, datetime handling, and element filtering.

## Use cases
- convert xml to json in javascript
- convert json to xml string
- parse xml soap responses as json objects
- handle xml attributes and arrays in json
- convert xml datetime to javascript date

## When to choose
- you need lightweight XML/JSON conversion with no dependencies
- you need configurable mapping of XML attributes, arrays, and datetimes
- you work with XML APIs in the browser or Node.js

## When to avoid
- you need streaming or very large XML document processing
- you need full XML schema validation or XPath support
- you need an actively developed library with recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, parser
- domain: web-development, developer-tools
- platform: browser
- tags: xml, json, xml-to-json, json-to-xml, conversion, zero-dependency, javascript, nodejs

## Member repositories
- abdolence/x2js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:08.752106+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-30T07:13:42.689047+00:00, confidence not recorded.
  - readme: https://github.com/abdolence/x2js (fetched 2026-09-03T02:15:08.752106+00:00, sha 1a42492e38d1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
