Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

simple-xml2json

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

simple-xml2json

xml to json for Node.js

    1.2.3latest

Version published
Maintainers
1
Yearly downloads
11,237
decreased by-18.28%

Weekly downloads

Readme

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

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc