{"name":"home-or-tmp","version":"2.0.0","description":"Get the user home directory with fallback to the system temp directory","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/home-or-tmp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["user","home","homedir","dir","directory","folder","path","tmp","temp","temporary","fallback","graceful","userprofile"],"dependencies":{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.1"},"devDependencies":{"ava":"0.0.4"},"gitHead":"dd1411a0b2531a4e2c592ae733fd45dd0f9c7163","bugs":{"url":"https://github.com/sindresorhus/home-or-tmp/issues"},"homepage":"https://github.com/sindresorhus/home-or-tmp","_id":"home-or-tmp@2.0.0","_shasum":"e36c3f2d2cae7d746a857e38d18d5f32a7882db8","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e36c3f2d2cae7d746a857e38d18d5f32a7882db8","tarball":"http://registry-npm.ywwl.com/home-or-tmp/download/home-or-tmp-2.0.0.tgz","integrity":"sha512-ycURW7oUxE2sNiPVw1HVEFsW+ecOpJ5zaj7eC0RlwhibhRBod20muUN8qu/gzx956YrLolVvs1MTXwKgC2rVEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdVXwpvv3SJeJ1Gu1INBEwsIBhHZCGFP1siXLbShnrWQIgBgoB/PdRIXJ1lpbn4byaLOpX1fOoyKuzi1nVdnKES6k="}],"size":1545,"noattachment":false,"key":"/home-or-tmp/-/home-or-tmp-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# home-or-tmp\n\n> Get the user home directory with fallback to the system temp directory\n\nUseful in cases where the home directory either isn't set or doesn't exist.\n\n## Install\n\n```\n$ npm install home-or-tmp\n```\n\n## Usage\n\n```js\nimport homeOrTemp from 'home-or-tmp';\n\nconsole.log(homeOrTemp);\n//=> '/Users/sindresorhus'\n\n// And if there is no home directory:\n\nconsole.log(homeOrTemp);\n//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'\n```\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-home-or-tmp?utm_source=npm-home-or-tmp&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1434199362545,"_cnpm_publish_time":1434199362545,"dist-tags":{"latest":"4.0.0"}}