0.0.4 • Published 10 years ago

xml2jsonfile v0.0.4

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

xml2jsonfile

###Module Description

Module will search through directory tree structure of the given project for xml files. It will then parse these files to JSON, removing the xmlns prefix of each tag if found and returns the body of the envelope writing to a .json file stored in a directory called json at root of project.

The module will parse both SOAP xml files and normal xml files with attributes.

####Why?

Why not! JSON is just easier to read! :)

This is my first node module and a work in progress, however please feel to create a Pull Request or raise an issue.


####How to use!

    npm install xml2jsonfile
    
    // require module    
    var createJsonFromXml = require('xml2jsonfile');

    // invoke 
    createJsonFromXml();