RSS Git Download  Clone
  lib initial commit 13 years ago
  test blah 13 years ago
  .gitignore 19B initial commit 13 years ago
  README.md 537B readme crap 13 years ago
  index.js 35B initial commit 13 years ago
  package.json 431B initial commit 13 years ago
  README.md
# Simple XML2JSON Parser. It does not parse the following elements: * CDATA sections * Processing instructions * XML declarations * Entity declarations * Comments ## Installation npm install xml2json ## Usage ```javascript var parser = require('xml2json'); var xml = "<foo>bar</foo>"; var json = parser.toJson(xml); //returns an string by default console.log(json); ``` if you want to get the Javascript object then you might like to invoke parser.toJson(xml, true); ## License Copyright 2011 BugLabs Inc. All rights reserved.