sseemayer / NEOW

Node.js Eve Online API Wrapper (with Promises)
MIT License
19 stars 6 forks source link

added options to xml2js for 'sleeker' json generation #6

Closed pgremo closed 10 years ago

pgremo commented 10 years ago

I added some options to the xml2js call that the eve central client uses in the parser. I normally use these options to eliminate xml2js wanting to put everything in arrays. It helps to make the result a little more 'sane'.

I realize this may/will be a breaking change for anyone currently using the eve central client.

sseemayer commented 10 years ago

I've merged this since I agree that it is the better API and it should be easy for everyone to upgrade. I will also bump the version to 1.0.0, indicating backwards-incompatible changes according to semver. Thanks again for your nice contributions, @pgremo!