Convert an XML input to a JSON output, using xml2js

npm install x2js-cli
5 downloads in the last week
13 downloads in the last month

Reads xml and writes to standard output.

Usage : x2js [options] FILE|-


--help, -h Show help

--indents, -i Indents. Num of spaces [default: 2]

--encoding, -e encoding if using stdin [default: "utf8"]

--noroot, -n strip root elem in output

npm loves you