Nucleus Powered Mitochondria
Have ideas to improve npm?Join in the discussion! »

xml2jsonfile

0.0.4 • Public • Published

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();
 

Install

npm i xml2jsonfile

DownloadsWeekly Downloads

2

Version

0.0.4

License

none

Last publish

Collaborators

  • avatar