🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

simple-xml2json

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-xml2json

xml to json for Node.js

latest
Source
npmnpm
Version
1.2.3
Version published
Maintainers
1
Created
Source

##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

Keywords

xml

FAQs

Package last updated on 14 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts