HTTP(S) get shim for easier gets
Request-like module for HTTP(S) gets. Only contains the bare minimum for gets.
The requested url can be a string or an option, as the node http core api goes, the only added option is the maximum number of redirects the request can make, which you can add to the options-object as the property
maxRedirects and a
Number as the value (defaults to 5).
Automatically selects http or https based on the requested url, or the options object.
npm install http-get-shim
Require: `var httpGet = require('http-get-shim');
httpGet''if !err && responsestatusCode === 200console.logdata;elseconsole.logerror;;