code: function getMyIPs() {
  	var ips = [];
  	var ifs = os.networkInterfaces();
  	for (var i in ifs) {
  		for (var j in ifs[i]) {
  			ips.push(ifs[i][j].address);
  		}
  	}
  	return ips;
  }
docs: Utility method to get a list of local IP addresses