{"name":"home-or-tmp","version":"3.0.0","description":"Get the user home directory with fallback to the system temp directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/home-or-tmp.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["user","home","homedir","dir","directory","folder","path","tmp","temp","temporary","fallback","graceful","userprofile"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"60f96f6eb0f33cd89bc868063807c596036cd186","bugs":{"url":"https://github.com/sindresorhus/home-or-tmp/issues"},"homepage":"https://github.com/sindresorhus/home-or-tmp#readme","_id":"home-or-tmp@3.0.0","_shasum":"57a8fe24cf33cdd524860a15821ddc25c86671fb","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"57a8fe24cf33cdd524860a15821ddc25c86671fb","tarball":"http://registry-npm.ywwl.com/home-or-tmp/download/home-or-tmp-3.0.0.tgz","integrity":"sha512-pj6ktgQDedSIbzwrC108F9aZadnF2ZJ8mP8QbGq2nLPOmqpdqKWMoU4JPJaFEzpoTl6X/jOwE8BlkTOfVPR98A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADaoPgP117GyTljYRtNLMbTFMPghtTC1GKD+iq8JaRmAiEA9yUoSvPXfkFtIiaXJMLwLRTY9nRmyJmsd2aJpMorNfI="}],"size":1513,"noattachment":false,"key":"/home-or-tmp/-/home-or-tmp-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/home-or-tmp-3.0.0.tgz_1484990381968_0.518237111158669"},"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":1484990383615,"_cnpm_publish_time":1484990383615,"dist-tags":{"latest":"4.0.0"}}