text: "use strict";var os=require("os");function homedir(){var b=process.env;var c=b.HOME;var a=b.LOGNAME||b.USER||b.LNAME||b.USERNAME;if(process.platform==="win32"){return b.USERPROFILE||b.HOMEDRIVE+b.HOMEPATH||c||null}if(process.platform==="darwin"){return c||(a?"/Users/"+a:null)}if(process.platform==="linux"){return c||(process.getuid()===0?"/root":(a?"/home/"+a:null))}return c||null}module.exports=typeof os.homedir==="function"?os.homedir:homedir;