{"name":"user-home","version":"1.1.1","description":"Get the path to the user home directory","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/user-home"},"bin":{"user-home":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli","bin","user","home","homedir","dir","directory","folder","path"],"devDependencies":{"ava":"0.0.3"},"readme":"# user-home [![Build Status](https://travis-ci.org/sindresorhus/user-home.svg?branch=master)](https://travis-ci.org/sindresorhus/user-home)\n\n> Get the path to the user home directory\n\n\n## Install\n\n```sh\n$ npm install --save user-home\n```\n\n\n## Usage\n\n```js\nvar userHome = require('user-home');\n\nconsole.log(userHome);\n//=> /Users/sindresorhus\n```\n\nReturns `null` in the unlikely scenario that the home directory can't be found.\n\n\n## CLI\n\n```sh\n$ npm install --global user-home\n```\n\n```sh\n$ user-home --help\n\nExample\n  $ user-home\n  /Users/sindresorhus\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","readmeFilename":"readme.md","bugs":{"url":"https://github.com/sindresorhus/user-home/issues"},"homepage":"https://github.com/sindresorhus/user-home","_id":"user-home@1.1.1","_shasum":"2b5be23a32b63a7c9deb8d0f28d485724a3df190","_from":"https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz","_resolved":"https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz"}