Skip to content
 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commonjs-xml2js

Description

Simple XML to JavaScript object converter. This fork is modified to run in any CommonJS environment (not just Node). Uses sax-js.

Note: If you're looking for a full DOM parser, you probably want JSDom.

Simple usage

var xml2js = require('./xml2js');

var parser = new xml2js.Parser(function(data) {
  console.log(JSON.stringify(data));
});

parser.parseString("<some xml>")

About

Simple XML to JavaScript object converter.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages