-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.75 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"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",
"_resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz",
"_from": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz"
}