# @svta/cml-xml

> XML parsing utilities

Latest version **1.2.0** (published 2026-09-04) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @svta/cml-xml
pnpm add @svta/cml-xml
yarn add @svta/cml-xml
bun add @svta/cml-xml
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2026-09-04 |
| First published | 2025-10-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 84 |
| Maintainers | littlespex, jason_n_thibeault |
| Keywords | Common Media Library, CML, XML |

## Links

- npm: https://www.npmjs.com/package/@svta/cml-xml
- Repository: https://github.com/streaming-video-technology-alliance/common-media-library
- Homepage: https://github.com/streaming-video-technology-alliance/common-media-library/tree/main/libs/xml
- Issues: https://github.com/streaming-video-technology-alliance/common-media-library/issues
- npm.io page: https://npm.io/package/@svta/cml-xml

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2026-09-04
- 1.1.6 — 2026-07-28
- 1.1.5 — 2026-07-21
- 1.1.4 — 2026-05-13
- 1.1.3 — 2026-02-12
- 1.1.2 — 2026-02-05
- 1.1.1 — 2026-02-03
- 1.1.0 — 2026-01-26
- 1.0.2 — 2025-12-26
- 1.0.1 — 2025-12-22
- 1.0.0 — 2025-10-24
- 0.22.0 — 2025-10-23
- 0.21.0 — 2025-10-21
- 0.20.0 — 2025-10-14
- 0.19.0 — 2025-10-08

## README

# @svta/cml-xml

XML parsing utilities.

## Installation

```bash
npm i @svta/cml-xml
```

## Usage

```typescript
import { parseXml } from "@svta/cml-xml";

const obj = parseXml(
	`<root>
		<child>text</child>
		<ns:tag>content</ns:tag>
	</root>`
);

const root = obj.childNodes[0];
console.log(root.nodeName);
// root
console.log(root.childNodes[0].nodeName, root.childNodes[0].childNodes[0].nodeValue);
// child text
console.log(root.childNodes[1].nodeName, root.childNodes[1].prefix, root.childNodes[1].localName);
// ns:tag ns tag
```

---
_Source: https://npm.io/package/@svta/cml-xml · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
