Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

simple-xml2json

1.2.3 • Public • Published

xml2json Node.js Library

Node.js based version of xml to json

How to use:

Installation:

$ npm install -g simple-xml2json

Title:

var xml2json = require("simple-xml2json");
var xml      = "<xml>hello</xml>";
var json     = xml2json.parser( xml );
console.log( json.xml )

Detailed usage:
http://www.thomasfrank.se/xml_to_json.html

Test:

..\node_modules\node-xml2json\test\node test.js

Major changes:

  • Support for CDATA
  • Support of hyphens in the node names

Contact:

Licensing:

Licensed under MIT

Install

npm i simple-xml2json

DownloadsWeekly Downloads

303

Version

1.2.3

License

MIT

Last publish

Collaborators

  • avatar