{"name":"userhome","version":"1.0.1","keywords":["userhome","user","home","homedir","path"],"author":{"url":"http://dontkry.com","name":"Kyle Robinson Young","email":"kyle@dontkry.com"},"license":"MIT","_id":"userhome@1.0.1","homepage":"https://github.com/shama/userhome","bugs":{"url":"https://github.com/shama/userhome/issues"},"dist":{"shasum":"cdfa80715113b4d706b6ecbe2e2c26f158b121d5","tarball":"http://registry-npm.ywwl.com/userhome/download/userhome-1.0.1.tgz","fileCount":5,"integrity":"sha512-5cnLm4gseXjAclKowC4IjByaGsjtAoV6PrOQOljplNB54ReUYJP8HdAFq2muHinSDAh09PPX/uXDPfdxRHvuSA==","signatures":[{"sig":"MEUCIHN8cajqnxT0kpDROTyP6XeHo0jnkEz/+oEQ5Zn8gbyxAiEAzJSXLsksxBs3j/RJ4ysJcGGjoESvaMBBoQ8owuylDMc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3370,"size":1804,"noattachment":false,"key":"/userhome/-/userhome-1.0.1.tgz"},"engines":{"node":">= 0.8.0"},"gitHead":"e1356d27cd687d86113bb551d805473b034dfc3b","scripts":{"test":"node test.js"},"_npmUser":{"name":"shama","email":"kyle@dontkry.com"},"repository":{"url":"git://github.com/shama/userhome.git","type":"git"},"_npmVersion":"9.5.1","description":"A cross-platform path to the user's home","directories":{},"_nodeVersion":"18.16.1","_hasShrinkwrap":false,"devDependencies":{"tape":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/userhome_1.0.1_1728262567936_0.04373215807805941","host":"s3://npm-registry-packages"},"readme":"# userhome\n\n> A cross-platform (OSX, Windows, Linux) path to the user's home.\n\n```js\nvar userhome = require('userhome');\n\nconsole.log(userhome('.bashrc'));\n// /Users/shama/.bashrc\n\nconsole.log(userhome('test', 'sub', 'file'));\n// /Users/shama/test/sub/file\n\nconsole.log(userhome());\n// C:\\Users\\shama\n```\n\n> If a valid user home environment variable could not be found an error will be thrown indicating so.\n\n## Release History\n* 1.0.1 - Fix license in package.json.\n* 1.0.0 - Throws an error if a user home can not be found.\n* 0.1.0 - initial release\n\n## License\nCopyright (c) 2024 Kyle Robinson Young  \nLicensed under the MIT license.\n","publish_time":1728262568139,"maintainers":[{"name":"shama","email":"kyle@dontkry.com"}],"_cnpm_publish_time":1728262568139,"dist-tags":{"latest":"1.0.1"}}