var httpProxy = require('http-proxy');
var fs = require('fs');

var podConfig = JSON.parse(fs.readFileSync('~/.podrc', 'utf-8'));

console.log("podConfig:", podConfig);

var httpProxy = require('http-proxy');
var fs = require('fs');

var podConfig = JSON.parse(fs.readFileSync(process.env.HOME + '/.podrc', 'utf-8'));

console.log("podConfig:", podConfig);

correct absolute path to home dir