Skip to content
This repository was archived by the owner on Feb 27, 2021. It is now read-only.
/ xml2json Public archive

simple xml 2 json node module, made for test purposes

License

Notifications You must be signed in to change notification settings

Fahrenholz/xml2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-xml2jsonparser (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 node-xml2jsonparser

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

About

simple xml 2 json node module, made for test purposes

Resources

License

Stars

Watchers

Forks

Packages

No packages published