xml2json : Converts xml to json and vice-versa, using node-expat.. You can installing xml2json npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install xml2json $ sudo npm install -g xml2json
If want to update the xml2json package execute the command as below,
$ sudo npm update xml2json
Update package globally,
$ npm install -g xml2json
$ sudo git clone https://github.com/rektide/xml2json.git
$ sudo npm install -g ./xml2json
xml2json@0.11.0 /usr/lib/node_modules/xml2json
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall xml2json
| Package Name | xml2json |
| Version | 0.11.0 |
| Description | Converts xml to json and vice-versa, using node-expat. |
| Released Date | 2017-01-13T01:12:06.562Z |
| Published by | c4milo |
| How to Learn | https://www.npmjs.com/package/xml2json/tutorial |