| 1 |
{ |
| 2 |
"_id": "home-or-tmp", |
| 3 |
"_rev": "4-8613c3e2aab1ca488068794cc646a72d", |
| 4 |
"name": "home-or-tmp", |
| 5 |
"description": "Get the user home directory with fallback to the system temp directory", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "3.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "home-or-tmp", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Get the user home directory with fallback to the system temp directory", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "https://github.com/sindresorhus/home-or-tmp" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=0.10.0" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "node test.js" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"user", |
| 35 |
"home", |
| 36 |
"homedir", |
| 37 |
"dir", |
| 38 |
"directory", |
| 39 |
"folder", |
| 40 |
"path", |
| 41 |
"tmp", |
| 42 |
"temp", |
| 43 |
"fallback", |
| 44 |
"graceful" |
| 45 |
], |
| 46 |
"dependencies": { |
| 47 |
"os-tmpdir": "^1.0.1", |
| 48 |
"user-home": "^1.1.1" |
| 49 |
}, |
| 50 |
"devDependencies": { |
| 51 |
"ava": "0.0.4" |
| 52 |
}, |
| 53 |
"gitHead": "d74b7b3af367dddde6138061ca67118f86011b67", |
| 54 |
"bugs": { |
| 55 |
"url": "https://github.com/sindresorhus/home-or-tmp/issues" |
| 56 |
}, |
| 57 |
"homepage": "https://github.com/sindresorhus/home-or-tmp", |
| 58 |
"_id": "[email protected]", |
| 59 |
"_shasum": "4b9f1e40800c3e50c6c27f781676afcce71f3985", |
| 60 |
"_from": ".", |
| 61 |
"_npmVersion": "2.9.1", |
| 62 |
"_nodeVersion": "0.12.3", |
| 63 |
"_npmUser": { |
| 64 |
"name": "sindresorhus", |
| 65 |
"email": "[email protected]" |
| 66 |
}, |
| 67 |
"dist": { |
| 68 |
"shasum": "4b9f1e40800c3e50c6c27f781676afcce71f3985", |
| 69 |
"tarball": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-1.0.0.tgz" |
| 70 |
}, |
| 71 |
"maintainers": [ |
| 72 |
{ |
| 73 |
"name": "sindresorhus", |
| 74 |
"email": "[email protected]" |
| 75 |
} |
| 76 |
], |
| 77 |
"directories": {} |
| 78 |
}, |
| 79 |
"2.0.0": { |
| 80 |
"name": "home-or-tmp", |
| 81 |
"version": "2.0.0", |
| 82 |
"description": "Get the user home directory with fallback to the system temp directory", |
| 83 |
"license": "MIT", |
| 84 |
"repository": { |
| 85 |
"type": "git", |
| 86 |
"url": "https://github.com/sindresorhus/home-or-tmp" |
| 87 |
}, |
| 88 |
"author": { |
| 89 |
"name": "Sindre Sorhus", |
| 90 |
"email": "[email protected]", |
| 91 |
"url": "sindresorhus.com" |
| 92 |
}, |
| 93 |
"engines": { |
| 94 |
"node": ">=0.10.0" |
| 95 |
}, |
| 96 |
"scripts": { |
| 97 |
"test": "node test.js" |
| 98 |
}, |
| 99 |
"files": [ |
| 100 |
"index.js" |
| 101 |
], |
| 102 |
"keywords": [ |
| 103 |
"user", |
| 104 |
"home", |
| 105 |
"homedir", |
| 106 |
"dir", |
| 107 |
"directory", |
| 108 |
"folder", |
| 109 |
"path", |
| 110 |
"tmp", |
| 111 |
"temp", |
| 112 |
"temporary", |
| 113 |
"fallback", |
| 114 |
"graceful", |
| 115 |
"userprofile" |
| 116 |
], |
| 117 |
"dependencies": { |
| 118 |
"os-homedir": "^1.0.0", |
| 119 |
"os-tmpdir": "^1.0.1" |
| 120 |
}, |
| 121 |
"devDependencies": { |
| 122 |
"ava": "0.0.4" |
| 123 |
}, |
| 124 |
"gitHead": "dd1411a0b2531a4e2c592ae733fd45dd0f9c7163", |
| 125 |
"bugs": { |
| 126 |
"url": "https://github.com/sindresorhus/home-or-tmp/issues" |
| 127 |
}, |
| 128 |
"homepage": "https://github.com/sindresorhus/home-or-tmp", |
| 129 |
"_id": "[email protected]", |
| 130 |
"_shasum": "e36c3f2d2cae7d746a857e38d18d5f32a7882db8", |
| 131 |
"_from": ".", |
| 132 |
"_npmVersion": "2.10.1", |
| 133 |
"_nodeVersion": "0.12.4", |
| 134 |
"_npmUser": { |
| 135 |
"name": "sindresorhus", |
| 136 |
"email": "[email protected]" |
| 137 |
}, |
| 138 |
"dist": { |
| 139 |
"shasum": "e36c3f2d2cae7d746a857e38d18d5f32a7882db8", |
| 140 |
"tarball": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz" |
| 141 |
}, |
| 142 |
"maintainers": [ |
| 143 |
{ |
| 144 |
"name": "sindresorhus", |
| 145 |
"email": "[email protected]" |
| 146 |
} |
| 147 |
], |
| 148 |
"directories": {} |
| 149 |
}, |
| 150 |
"3.0.0": { |
| 151 |
"name": "home-or-tmp", |
| 152 |
"version": "3.0.0", |
| 153 |
"description": "Get the user home directory with fallback to the system temp directory", |
| 154 |
"license": "MIT", |
| 155 |
"repository": { |
| 156 |
"type": "git", |
| 157 |
"url": "git+https://github.com/sindresorhus/home-or-tmp.git" |
| 158 |
}, |
| 159 |
"author": { |
| 160 |
"name": "Sindre Sorhus", |
| 161 |
"email": "[email protected]", |
| 162 |
"url": "sindresorhus.com" |
| 163 |
}, |
| 164 |
"engines": { |
| 165 |
"node": ">=4" |
| 166 |
}, |
| 167 |
"scripts": { |
| 168 |
"test": "xo && ava" |
| 169 |
}, |
| 170 |
"files": [ |
| 171 |
"index.js" |
| 172 |
], |
| 173 |
"keywords": [ |
| 174 |
"user", |
| 175 |
"home", |
| 176 |
"homedir", |
| 177 |
"dir", |
| 178 |
"directory", |
| 179 |
"folder", |
| 180 |
"path", |
| 181 |
"tmp", |
| 182 |
"temp", |
| 183 |
"temporary", |
| 184 |
"fallback", |
| 185 |
"graceful", |
| 186 |
"userprofile" |
| 187 |
], |
| 188 |
"devDependencies": { |
| 189 |
"ava": "*", |
| 190 |
"xo": "*" |
| 191 |
}, |
| 192 |
"gitHead": "60f96f6eb0f33cd89bc868063807c596036cd186", |
| 193 |
"bugs": { |
| 194 |
"url": "https://github.com/sindresorhus/home-or-tmp/issues" |
| 195 |
}, |
| 196 |
"homepage": "https://github.com/sindresorhus/home-or-tmp#readme", |
| 197 |
"_id": "[email protected]", |
| 198 |
"_shasum": "57a8fe24cf33cdd524860a15821ddc25c86671fb", |
| 199 |
"_from": ".", |
| 200 |
"_npmVersion": "2.15.11", |
| 201 |
"_nodeVersion": "4.6.2", |
| 202 |
"_npmUser": { |
| 203 |
"name": "sindresorhus", |
| 204 |
"email": "[email protected]" |
| 205 |
}, |
| 206 |
"dist": { |
| 207 |
"shasum": "57a8fe24cf33cdd524860a15821ddc25c86671fb", |
| 208 |
"tarball": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-3.0.0.tgz" |
| 209 |
}, |
| 210 |
"maintainers": [ |
| 211 |
{ |
| 212 |
"name": "sindresorhus", |
| 213 |
"email": "[email protected]" |
| 214 |
} |
| 215 |
], |
| 216 |
"_npmOperationalInternal": { |
| 217 |
"host": "packages-18-east.internal.npmjs.com", |
| 218 |
"tmp": "tmp/home-or-tmp-3.0.0.tgz_1484990381968_0.518237111158669" |
| 219 |
}, |
| 220 |
"directories": {} |
| 221 |
} |
| 222 |
}, |
| 223 |
"readme": "# home-or-tmp [](https://travis-ci.org/sindresorhus/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\n## Install\n\n```\n$ npm install --save home-or-tmp\n```\n\n\n## Usage\n\n```js\nconst homeOrTmp = require('home-or-tmp');\n\nconsole.log(homeOrTmp);\n//=> '/Users/sindresorhus'\n\n// And if there is no home directory:\n\nconsole.log(homeOrTmp);\n//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", |
| 224 |
"maintainers": [ |
| 225 |
{ |
| 226 |
"name": "sindresorhus", |
| 227 |
"email": "[email protected]" |
| 228 |
} |
| 229 |
], |
| 230 |
"time": { |
| 231 |
"modified": "2017-01-21T09:19:43.615Z", |
| 232 |
"created": "2015-05-17T22:19:07.323Z", |
| 233 |
"1.0.0": "2015-05-17T22:19:07.323Z", |
| 234 |
"2.0.0": "2015-06-13T12:42:42.545Z", |
| 235 |
"3.0.0": "2017-01-21T09:19:43.615Z" |
| 236 |
}, |
| 237 |
"homepage": "https://github.com/sindresorhus/home-or-tmp#readme", |
| 238 |
"keywords": [ |
| 239 |
"user", |
| 240 |
"home", |
| 241 |
"homedir", |
| 242 |
"dir", |
| 243 |
"directory", |
| 244 |
"folder", |
| 245 |
"path", |
| 246 |
"tmp", |
| 247 |
"temp", |
| 248 |
"temporary", |
| 249 |
"fallback", |
| 250 |
"graceful", |
| 251 |
"userprofile" |
| 252 |
], |
| 253 |
"repository": { |
| 254 |
"type": "git", |
| 255 |
"url": "git+https://github.com/sindresorhus/home-or-tmp.git" |
| 256 |
}, |
| 257 |
"author": { |
| 258 |
"name": "Sindre Sorhus", |
| 259 |
"email": "[email protected]", |
| 260 |
"url": "sindresorhus.com" |
| 261 |
}, |
| 262 |
"bugs": { |
| 263 |
"url": "https://github.com/sindresorhus/home-or-tmp/issues" |
| 264 |
}, |
| 265 |
"license": "MIT", |
| 266 |
"readmeFilename": "readme.md", |
| 267 |
"users": { |
| 268 |
"ristomatti": true |
| 269 |
}, |
| 270 |
"_attachments": {} |
| 271 |
} |