node-xml2jsonparser

0.1.0 • Public • Published

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

  $ npm install xml2json

after that, simply require it:

  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

Readme

Keywords

Package Sidebar

Install

npm i node-xml2jsonparser

Weekly Downloads

2

Version

0.1.0

License

none

Last publish

Collaborators

  • fahrenholz