npm

Need private packages and team management tools?Check out npm Orgs. »

xml-conv-json

1.0.2 • Public • Published

xml-conv-json

Node Module that converts XML to JSON using a C++ Module

This module has the advantage of using C++ to crunch the XML and return it as JSON instead of using Node for such an intensive operation.

It is simply a wrapper for the https://github.com/Cheedoong/xml2json C++ library

Install

node gyp will need to be installed globally. You can install it with


  npm install -g node-gyp

Install xml-conv-json package


  npm install --save xml-conv-json

Use

 
  var xmlConvJson=require('xml-conv-json');
  
  var jsonObj=xmlConvJson.parseXML(xmlString);
  

To Do

Create an Asyncronous version using libuv ( Pull Request Welcome :) )

install

npm i xml-conv-json

Downloadsweekly downloads

9

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability