superagent-xml2jsparser
a parser for visionmedia/superagent that converts XML to json. It uses xml2js
Installation
with npm
npm install superagent-xml2jsparser
Motivation
I needed to access an XML based API with superagent. This seemed the simplest thing to do
Usage
request = ;xml2jsParser = ; request accept'xml' // add the parser function