Skip to content

joeyism/node-xml2json-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple XML2JSON CLI Parser

This is a wrapper around buglab's XML2JSON.

Installation

Simply run

npm install -g xml2json-cli

To Run

xml2json

$ xml2json [input xml file] [output json file (optional)]

inputfile: a xml file that needs to be converted

outputfile (optional): a json file that's outputted

Example
$ xml2json somefile.xml samefilebutconverted.json

json2xml

$ json2xml [input json file] [output xml file (optional)]

inputfile: a json file that needs to be converted

outputfile (optional): a xmlfile that's outputted

Example
$ json2xml somefile.json samefilebutconverted.xml

Versions

1.1.0

  • Removed title on output

1.0.0

  • Initial

About

A node CLI wrapper for xml2json

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •