{ "_id": "user-home", "_rev": "28-751188a4f079deec5aca5cde2e515f64", "name": "user-home", "description": "Get the path to the user home directory", "dist-tags": { "latest": "2.0.0" }, "versions": { "1.0.0": { "name": "user-home", "version": "1.0.0", "description": "Get the path to the user home directory", "license": "MIT", "repository": { "type": "git", "url": "git://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" }, "gitHead": "26b9cfd8d28dccf0ca1703f84727d076f6aa5343", "bugs": { "url": "https://github.com/sindresorhus/user-home/issues" }, "homepage": "https://github.com/sindresorhus/user-home", "_id": "user-home@1.0.0", "_shasum": "54ecb631e0fa420e9b0a6b946b158d137825b38b", "_from": ".", "_npmVersion": "1.4.14", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "dist": { "shasum": "54ecb631e0fa420e9b0a6b946b158d137825b38b", "tarball": "https://registry.npmjs.org/user-home/-/user-home-1.0.0.tgz" }, "directories": {} }, "1.1.0": { "name": "user-home", "version": "1.1.0", "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" }, "gitHead": "d4f279b9da79684fe1787f92bc52d2a372ef9856", "bugs": { "url": "https://github.com/sindresorhus/user-home/issues" }, "homepage": "https://github.com/sindresorhus/user-home", "_id": "user-home@1.1.0", "_shasum": "1f4e6bce5458aeec4ac80ebcdcc66119c1070cdf", "_from": ".", "_npmVersion": "2.1.2", "_nodeVersion": "0.10.32", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "dist": { "shasum": "1f4e6bce5458aeec4ac80ebcdcc66119c1070cdf", "tarball": "https://registry.npmjs.org/user-home/-/user-home-1.1.0.tgz" }, "directories": {} }, "1.1.1": { "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" }, "gitHead": "cf6ba885d3e6bf625fb3c15ad0334fa623968481", "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": ".", "_npmVersion": "2.1.16", "_nodeVersion": "0.10.32", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "dist": { "shasum": "2b5be23a32b63a7c9deb8d0f28d485724a3df190", "tarball": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz" }, "directories": {} }, "2.0.0": { "name": "user-home", "version": "2.0.0", "description": "Get the path to the user home directory", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sindresorhus/user-home" }, "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", "os-homedir", "dir", "directory", "folder", "path", "env", "vars", "environment", "variables", "userprofile" ], "dependencies": { "os-homedir": "^1.0.0" }, "devDependencies": { "ava": "0.0.4", "path-exists": "^1.0.0" }, "gitHead": "23e6d1e2dd553b599c787348f82bd2463225cc80", "bugs": { "url": "https://github.com/sindresorhus/user-home/issues" }, "homepage": "https://github.com/sindresorhus/user-home", "_id": "user-home@2.0.0", "_shasum": "9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f", "_from": ".", "_npmVersion": "2.10.1", "_nodeVersion": "0.12.4", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f", "tarball": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} } }, "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```\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## Related\n\n- [user-home-cli](https://github.com/sindresorhus/user-home-cli) - CLI for this module\n- [home-or-tmp](https://github.com/sindresorhus/home-or-tmp) - Get the user home directory with fallback to the system temp directory\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "time": { "modified": "2017-12-14T17:12:36.214Z", "created": "2014-08-03T17:22:44.525Z", "1.0.0": "2014-08-03T17:22:44.525Z", "1.1.0": "2014-10-16T12:29:54.406Z", "1.1.1": "2015-01-13T17:47:49.094Z", "2.0.0": "2015-06-13T12:40:31.773Z" }, "homepage": "https://github.com/sindresorhus/user-home", "keywords": [ "user", "home", "homedir", "os-homedir", "dir", "directory", "folder", "path", "env", "vars", "environment", "variables", "userprofile" ], "repository": { "type": "git", "url": "https://github.com/sindresorhus/user-home" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/user-home/issues" }, "license": "MIT", "readmeFilename": "readme.md", "users": { "fgribreau": true, "jamescostian": true, "itonyyo": true, "jerkovicl": true, "jian263994241": true, "akiva": true, "dongxu": true, "gvn": true, "rbecheras": true, "adius": true, "axelrindle": true, "eijs": true, "nickeltobias": true, "wgerven": true, "nerdybeast": true, "gindis": true, "dyakovk": true }, "_attachments": {} }