# node-xml2jsonparser

> Simple xml to json parser using regexp, made for test purposes

Latest version **0.1.0** (published 2014-06-22) · 0 weekly downloads

## Install

```sh
npm install node-xml2jsonparser
pnpm add node-xml2jsonparser
yarn add node-xml2jsonparser
bun add node-xml2jsonparser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-06-22 |
| First published | 2014-06-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vincent Fahrenholz |
| Maintainers | fahrenholz |
| Keywords | xml, json, parser |

## Links

- npm: https://www.npmjs.com/package/node-xml2jsonparser
- Repository: https://github.com/Fahrenholz/xml2json
- Issues: https://github.com/Fahrenholz/xml2json/issues
- npm.io page: https://npm.io/package/node-xml2jsonparser

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-06-22

## README

xml2json (v. 0.1.0)
========

I made this simple XML to JSON parser for nodeJs for test purposes. It is yet working, but won't be the tool of your choice if you have something more complicated to do

# Installing

to use it, you must install it via npm
```bash
  $ npm install xml2json
```
after that, simply require it:

```javascript
  xml2json = require('xml2json');
```

# API

## parseFile(path)

allows you to parse an xml file to a JSON object

## parseString (string)

allows you to parse an xml string to a JSON object

# Todo

better testing and implementing functionality

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