XML Parsing in JavaScript With xml2js

Most web APIs these days are JSON APIs. JSON is fantastic, and very easy to work with. However older web APIs still use XML, and that can be a problem when you’re a JavaScript developer. Using the xml2js package, we can convert an XML string to a JavaScript object – making our lives much easier as JavaScript developers.

Installing a Specific Version of Node

I’m working on an API written in Node.js v6.4.0. When trying to deploy it to my Ubuntu 16.04 server, however, I’m running into a compatibility problem. See, when I setup my server, I installed the latest version of Node (currently v6.6.0), which means that the Node version is different on my server than it is on my MacBook.