# xmlattrdict

> Parse XML tag attributes into a dictionary object, or build a tag from an object.

Latest version **0.2.3** (published 2025-01-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install xmlattrdict
pnpm add xmlattrdict
yarn add xmlattrdict
bun add xmlattrdict
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

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

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2025-01-30 |
| First published | 2016-09-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 20.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | M.K. |
| Maintainers | mk-pmb |
| Keywords | attribute, attributes, dict, tag, xml |

## Links

- npm: https://www.npmjs.com/package/xmlattrdict
- Repository: https://github.com/mk-pmb/xmlattrdict-js
- Homepage: https://github.com/mk-pmb/xmlattrdict-js#readme
- Issues: https://github.com/mk-pmb/xmlattrdict-js/issues
- npm.io page: https://npm.io/package/xmlattrdict

## Dependencies (4)

- [rxu](https://npm.io/package/rxu.md) ^0.1.6
- [xmldecode](https://npm.io/package/xmldecode.md) ^0.1.1
- [xmlunidefuse](https://npm.io/package/xmlunidefuse.md) ^0.1.4
- [generic-object-error](https://npm.io/package/generic-object-error.md) ^0.1.0

## 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

- 0.2.3 (latest) — 2025-01-30
- 0.2.2 — 2025-01-29
- 0.2.1 — 2025-01-28
- 0.1.15 — 2025-01-24
- 0.1.13 — 2016-09-24
- 0.1.12 — 2016-09-20
- 0.1.11 — 2016-09-19
- 0.1.10 — 2016-09-19
- 0.1.9 — 2016-09-17
- 0.1.8 — 2016-09-17
- 0.1.7 — 2016-09-11
- 0.1.6 — 2016-09-11
- 0.1.5 — 2016-09-10
- 0.1.4 — 2016-09-10
- 0.1.3 — 2016-09-10
- … 3 more at https://npm.io/package/xmlattrdict/versions

## README

<!--#echo json="package.json" key="name" underline="=" -->
xmlattrdict
===========
<!--/#echo -->

<!--#echo json="package.json" key="description" -->
Parse XML tag attributes into a dictionary object, or build a tag from an
object.
<!--/#echo -->


Usage
-----

see [test.js](test.js).


<!--#toc stop="scan" -->


License
-------
<!--#echo json="package.json" key=".license" -->
ISC
<!--/#echo -->

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