# Install xml2json with npm

Converts xml to json and vice-versa, using node-expat. Version 0.12.0 via npm; verified 2019-12-26.

## Install

```sh
sudo av install npm:xml2json
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g xml2json
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:xml2json
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/xml2json>
- **Version:** 0.12.0
- **Source summary:** Converts xml to json and vice-versa, using node-expat.
- **Homepage:** <https://github.com/buglabs/node-xml2json#readme>
- **Repository:** <https://github.com/buglabs/node-xml2json>
- **Upstream docs:** <https://github.com/buglabs/node-xml2json#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/xml2json/-/xml2json-0.12.0.tgz>
- **Issue tracker:** <https://github.com/buglabs/node-xml2json/issues>
- **Published:** 2019-12-26T04:41:04.556Z
- **Last updated:** 2019-12-26T04:41:04.556Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- xml2json (cli)
- xml2json (alias)

## Dependencies

- hoek
- joi
- node-expat

## Build dependencies

- code
- lab

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.12.0
- Package-manager updated: 2019-12-26
- Local data: ok
- Upstream repository: https://github.com/buglabs/node-xml2json
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for xml2json. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.12.0
- **Version Count:** 28
- **Maintainers:** buglabs, c4milo
- **Publisher:** c4milo
- **Integrity:** sha512-EPJHRWJnJUYbJlzR4pBhZODwWdi2IaYGtDdteJi0JpZ4OD31IplWALuit8r73dJuM4iHZdDVKY1tLqY2UICejg==
- **Shasum:** b2ae450b267033b76d896f86e022fa7bff678572
- **Unpacked Size:** 139,150
- **File Count:** 0
- **Created At:** 2011-06-30T20:02:52.118Z
- **Latest Published At:** 2019-12-26T04:41:04.556Z
- **Modified At:** 2023-07-12T19:08:58.744Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [xml-js](https://pkg.so/npm/xml-js/) - Both packages work with overlapping file formats or content types. Shared terms: cli, converter, data, json, serialization.
- [typewriter](https://pkg.so/npm/typewriter/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, joi, json, node.
- [xml-to-json-stream](https://pkg.so/npm/xml-to-json-stream/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, json, serialization, xml.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
