| 1 |
{ |
| 2 |
"_id": "path-key", |
| 3 |
"_rev": "8-ee5ddefb7612b1287a5ade51014cbb77", |
| 4 |
"name": "path-key", |
| 5 |
"description": "Get the PATH environment variable key cross-platform", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "3.1.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "path-key", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Get the PATH environment variable key cross-platform", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "https://github.com/sindresorhus/path-key" |
| 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": "xo && ava" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"path", |
| 35 |
"key", |
| 36 |
"environment", |
| 37 |
"env", |
| 38 |
"variable", |
| 39 |
"var", |
| 40 |
"get", |
| 41 |
"cross-platform", |
| 42 |
"windows" |
| 43 |
], |
| 44 |
"devDependencies": { |
| 45 |
"ava": "*", |
| 46 |
"xo": "*" |
| 47 |
}, |
| 48 |
"gitHead": "7f9703b3ae62da971bae635d561b1a6b80102cc1", |
| 49 |
"bugs": { |
| 50 |
"url": "https://github.com/sindresorhus/path-key/issues" |
| 51 |
}, |
| 52 |
"homepage": "https://github.com/sindresorhus/path-key", |
| 53 |
"_id": "[email protected]", |
| 54 |
"_shasum": "5d53d578019646c0d68800db4e146e6bdc2ac7af", |
| 55 |
"_from": ".", |
| 56 |
"_npmVersion": "2.14.12", |
| 57 |
"_nodeVersion": "4.2.4", |
| 58 |
"_npmUser": { |
| 59 |
"name": "sindresorhus", |
| 60 |
"email": "[email protected]" |
| 61 |
}, |
| 62 |
"dist": { |
| 63 |
"shasum": "5d53d578019646c0d68800db4e146e6bdc2ac7af", |
| 64 |
"tarball": "https://registry.npmjs.org/path-key/-/path-key-1.0.0.tgz" |
| 65 |
}, |
| 66 |
"maintainers": [ |
| 67 |
{ |
| 68 |
"name": "sindresorhus", |
| 69 |
"email": "[email protected]" |
| 70 |
} |
| 71 |
], |
| 72 |
"directories": {} |
| 73 |
}, |
| 74 |
"2.0.0": { |
| 75 |
"name": "path-key", |
| 76 |
"version": "2.0.0", |
| 77 |
"description": "Get the PATH environment variable key cross-platform", |
| 78 |
"license": "MIT", |
| 79 |
"repository": { |
| 80 |
"type": "git", |
| 81 |
"url": "git+https://github.com/sindresorhus/path-key.git" |
| 82 |
}, |
| 83 |
"author": { |
| 84 |
"name": "Sindre Sorhus", |
| 85 |
"email": "[email protected]", |
| 86 |
"url": "sindresorhus.com" |
| 87 |
}, |
| 88 |
"engines": { |
| 89 |
"node": ">=4" |
| 90 |
}, |
| 91 |
"scripts": { |
| 92 |
"test": "xo && ava" |
| 93 |
}, |
| 94 |
"files": [ |
| 95 |
"index.js" |
| 96 |
], |
| 97 |
"keywords": [ |
| 98 |
"path", |
| 99 |
"key", |
| 100 |
"environment", |
| 101 |
"env", |
| 102 |
"variable", |
| 103 |
"var", |
| 104 |
"get", |
| 105 |
"cross-platform", |
| 106 |
"windows" |
| 107 |
], |
| 108 |
"devDependencies": { |
| 109 |
"ava": "*", |
| 110 |
"xo": "*" |
| 111 |
}, |
| 112 |
"xo": { |
| 113 |
"esnext": true |
| 114 |
}, |
| 115 |
"gitHead": "c20998aada28a193bf245fd3be5f066c78690a4a", |
| 116 |
"bugs": { |
| 117 |
"url": "https://github.com/sindresorhus/path-key/issues" |
| 118 |
}, |
| 119 |
"homepage": "https://github.com/sindresorhus/path-key#readme", |
| 120 |
"_id": "[email protected]", |
| 121 |
"_shasum": "a07e1d3d81ee9a21e4fc70d0fd765f3022e6f70c", |
| 122 |
"_from": ".", |
| 123 |
"_npmVersion": "2.15.9", |
| 124 |
"_nodeVersion": "4.5.0", |
| 125 |
"_npmUser": { |
| 126 |
"name": "sindresorhus", |
| 127 |
"email": "[email protected]" |
| 128 |
}, |
| 129 |
"dist": { |
| 130 |
"shasum": "a07e1d3d81ee9a21e4fc70d0fd765f3022e6f70c", |
| 131 |
"tarball": "https://registry.npmjs.org/path-key/-/path-key-2.0.0.tgz" |
| 132 |
}, |
| 133 |
"maintainers": [ |
| 134 |
{ |
| 135 |
"name": "sindresorhus", |
| 136 |
"email": "[email protected]" |
| 137 |
} |
| 138 |
], |
| 139 |
"_npmOperationalInternal": { |
| 140 |
"host": "packages-16-east.internal.npmjs.com", |
| 141 |
"tmp": "tmp/path-key-2.0.0.tgz_1474784823704_0.3132385080680251" |
| 142 |
}, |
| 143 |
"directories": {} |
| 144 |
}, |
| 145 |
"2.0.1": { |
| 146 |
"name": "path-key", |
| 147 |
"version": "2.0.1", |
| 148 |
"description": "Get the PATH environment variable key cross-platform", |
| 149 |
"license": "MIT", |
| 150 |
"repository": { |
| 151 |
"type": "git", |
| 152 |
"url": "git+https://github.com/sindresorhus/path-key.git" |
| 153 |
}, |
| 154 |
"author": { |
| 155 |
"name": "Sindre Sorhus", |
| 156 |
"email": "[email protected]", |
| 157 |
"url": "sindresorhus.com" |
| 158 |
}, |
| 159 |
"engines": { |
| 160 |
"node": ">=4" |
| 161 |
}, |
| 162 |
"scripts": { |
| 163 |
"test": "xo && ava" |
| 164 |
}, |
| 165 |
"files": [ |
| 166 |
"index.js" |
| 167 |
], |
| 168 |
"keywords": [ |
| 169 |
"path", |
| 170 |
"key", |
| 171 |
"environment", |
| 172 |
"env", |
| 173 |
"variable", |
| 174 |
"var", |
| 175 |
"get", |
| 176 |
"cross-platform", |
| 177 |
"windows" |
| 178 |
], |
| 179 |
"devDependencies": { |
| 180 |
"ava": "*", |
| 181 |
"xo": "*" |
| 182 |
}, |
| 183 |
"xo": { |
| 184 |
"esnext": true |
| 185 |
}, |
| 186 |
"gitHead": "d60207f9ab9dc9e60d49c87faacf415a4946287c", |
| 187 |
"bugs": { |
| 188 |
"url": "https://github.com/sindresorhus/path-key/issues" |
| 189 |
}, |
| 190 |
"homepage": "https://github.com/sindresorhus/path-key#readme", |
| 191 |
"_id": "[email protected]", |
| 192 |
"_shasum": "411cadb574c5a140d3a4b1910d40d80cc9f40b40", |
| 193 |
"_from": ".", |
| 194 |
"_npmVersion": "2.15.9", |
| 195 |
"_nodeVersion": "4.5.0", |
| 196 |
"_npmUser": { |
| 197 |
"name": "sindresorhus", |
| 198 |
"email": "[email protected]" |
| 199 |
}, |
| 200 |
"dist": { |
| 201 |
"shasum": "411cadb574c5a140d3a4b1910d40d80cc9f40b40", |
| 202 |
"tarball": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz" |
| 203 |
}, |
| 204 |
"maintainers": [ |
| 205 |
{ |
| 206 |
"name": "sindresorhus", |
| 207 |
"email": "[email protected]" |
| 208 |
} |
| 209 |
], |
| 210 |
"_npmOperationalInternal": { |
| 211 |
"host": "packages-12-west.internal.npmjs.com", |
| 212 |
"tmp": "tmp/path-key-2.0.1.tgz_1474887352898_0.8162120468914509" |
| 213 |
}, |
| 214 |
"directories": {} |
| 215 |
}, |
| 216 |
"3.0.0": { |
| 217 |
"name": "path-key", |
| 218 |
"version": "3.0.0", |
| 219 |
"description": "Get the PATH environment variable key cross-platform", |
| 220 |
"license": "MIT", |
| 221 |
"repository": { |
| 222 |
"type": "git", |
| 223 |
"url": "git+https://github.com/sindresorhus/path-key.git" |
| 224 |
}, |
| 225 |
"author": { |
| 226 |
"name": "Sindre Sorhus", |
| 227 |
"email": "[email protected]", |
| 228 |
"url": "sindresorhus.com" |
| 229 |
}, |
| 230 |
"engines": { |
| 231 |
"node": ">=8" |
| 232 |
}, |
| 233 |
"scripts": { |
| 234 |
"test": "xo && ava && tsd-check" |
| 235 |
}, |
| 236 |
"keywords": [ |
| 237 |
"path", |
| 238 |
"key", |
| 239 |
"environment", |
| 240 |
"env", |
| 241 |
"variable", |
| 242 |
"var", |
| 243 |
"get", |
| 244 |
"cross-platform", |
| 245 |
"windows" |
| 246 |
], |
| 247 |
"devDependencies": { |
| 248 |
"@types/node": "^11.11.0", |
| 249 |
"ava": "^1.3.1", |
| 250 |
"tsd-check": "^0.3.0", |
| 251 |
"xo": "^0.24.0" |
| 252 |
}, |
| 253 |
"gitHead": "5d21e7064d248a7fc928da67d78003a855145641", |
| 254 |
"bugs": { |
| 255 |
"url": "https://github.com/sindresorhus/path-key/issues" |
| 256 |
}, |
| 257 |
"homepage": "https://github.com/sindresorhus/path-key#readme", |
| 258 |
"_id": "[email protected]", |
| 259 |
"_nodeVersion": "10.15.1", |
| 260 |
"_npmVersion": "6.9.0", |
| 261 |
"_npmUser": { |
| 262 |
"name": "sindresorhus", |
| 263 |
"email": "[email protected]" |
| 264 |
}, |
| 265 |
"dist": { |
| 266 |
"integrity": "sha512-zLY/S2T5y8zv1vEpx4VHguUgmtgkewofGKSpa7VmzdU3Jbu8JonUvt5hzjBpJvamSnusynqJiYwkbi22aTo7Rw==", |
| 267 |
"shasum": "4c459253329ac9abfd22a456a18a49bb3394f271", |
| 268 |
"tarball": "https://registry.npmjs.org/path-key/-/path-key-3.0.0.tgz", |
| 269 |
"fileCount": 5, |
| 270 |
"unpackedSize": 3721, |
| 271 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchRuJCRA9TVsSAnZWagAAbW4P/ji9nDoz6ngkY0cPomuI\nQ+wclEXxSsySYPTjvcQYZQYSrJCpVUJIZ+Ut4KkFj6tidHxCzGPxKvGX6Jp/\nbYzelAwtg1X6oKQVhv4dBdV1+sCZWLz53mpIPNJb9rQBNcaPBHtc8iQu0Mww\nMBgGzvlobADDZQfk5pxdLOp92db/iQIOXP7OzPynS6mrLkU2pJpkx1KJjj0R\n+JZdd/4cEE4PlSM7UTwDZa/XlJpj5RXI2zjHn31bLz8ozgGb3i9rjEODlZI1\nc1Kk23QZYl3UFp2x7Ixj8fyZPIAZcaghBKiQt2kmQyDAF11T2vKKE6anSMM9\nh9FoHR9xqjuzFhcBOK+LhMCDrAw4wIxLsfBFwgkT4Ao8HJnMQnSoTHPcXAUB\nnLn6EQjrl7WknMpwzud3m9nlKNxsLmJi73WH/Agh82ltaT7N27msnV9Rr89z\nK5KsqEo1K165LV73O6pB2AnH7xJXslAPiXLZ5pa0R4EvjF+bUNDPZcWm9nMF\nQc7V3o5D+xkcpWFlbocgn60MoqBKcB0yWPwy2OHZQas/aIocRtGDTpdb4HaV\n+C/Zp87U7bCFDL5K5vWpNl5SPkswCXdqi7lt4zP5q6uVDxJtMQtfJId20YDd\nfmi0SpTStu87ak1WouJGrH4AtZG0UVj6scXaPsNnYR7B7qZRZJQcL51G4Aqa\nW4Pl\r\n=QINq\r\n-----END PGP SIGNATURE-----\r\n" |
| 272 |
}, |
| 273 |
"maintainers": [ |
| 274 |
{ |
| 275 |
"name": "sindresorhus", |
| 276 |
"email": "[email protected]" |
| 277 |
} |
| 278 |
], |
| 279 |
"directories": {}, |
| 280 |
"_npmOperationalInternal": { |
| 281 |
"host": "s3://npm-registry-packages", |
| 282 |
"tmp": "tmp/path-key_3.0.0_1552227208700_0.9010846848491241" |
| 283 |
}, |
| 284 |
"_hasShrinkwrap": false |
| 285 |
}, |
| 286 |
"3.1.0": { |
| 287 |
"name": "path-key", |
| 288 |
"version": "3.1.0", |
| 289 |
"description": "Get the PATH environment variable key cross-platform", |
| 290 |
"license": "MIT", |
| 291 |
"repository": { |
| 292 |
"type": "git", |
| 293 |
"url": "git+https://github.com/sindresorhus/path-key.git" |
| 294 |
}, |
| 295 |
"author": { |
| 296 |
"name": "Sindre Sorhus", |
| 297 |
"email": "[email protected]", |
| 298 |
"url": "sindresorhus.com" |
| 299 |
}, |
| 300 |
"engines": { |
| 301 |
"node": ">=8" |
| 302 |
}, |
| 303 |
"scripts": { |
| 304 |
"test": "xo && ava && tsd" |
| 305 |
}, |
| 306 |
"keywords": [ |
| 307 |
"path", |
| 308 |
"key", |
| 309 |
"environment", |
| 310 |
"env", |
| 311 |
"variable", |
| 312 |
"var", |
| 313 |
"get", |
| 314 |
"cross-platform", |
| 315 |
"windows" |
| 316 |
], |
| 317 |
"devDependencies": { |
| 318 |
"@types/node": "^11.13.0", |
| 319 |
"ava": "^1.4.1", |
| 320 |
"tsd": "^0.7.2", |
| 321 |
"xo": "^0.24.0" |
| 322 |
}, |
| 323 |
"gitHead": "cc5e5ab75428c639ed64762e182a55fbfb07db1c", |
| 324 |
"bugs": { |
| 325 |
"url": "https://github.com/sindresorhus/path-key/issues" |
| 326 |
}, |
| 327 |
"homepage": "https://github.com/sindresorhus/path-key#readme", |
| 328 |
"_id": "[email protected]", |
| 329 |
"_nodeVersion": "8.15.0", |
| 330 |
"_npmVersion": "6.9.0", |
| 331 |
"_npmUser": { |
| 332 |
"name": "sindresorhus", |
| 333 |
"email": "[email protected]" |
| 334 |
}, |
| 335 |
"dist": { |
| 336 |
"integrity": "sha512-8cChqz0RP6SHJkMt48FW0A7+qUOn+OsnOsVtzI59tZ8m+5bCSk7hzwET0pulwOM2YMn9J1efb07KB9l9f30SGg==", |
| 337 |
"shasum": "99a10d870a803bdd5ee6f0470e58dfcd2f9a54d3", |
| 338 |
"tarball": "https://registry.npmjs.org/path-key/-/path-key-3.1.0.tgz", |
| 339 |
"fileCount": 5, |
| 340 |
"unpackedSize": 4172, |
| 341 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpvs8CRA9TVsSAnZWagAATFUQAKL3ob3wLUEir7iegTpq\nFeruhlVSBc3qwBzdsuQRnkAYsLwRkOtN2H3Hzp3X+qeACGrP+gzEZ1qmar7n\nttq8C0GqAwtHMO8dFM6b/YxZx0b2haLzmjEGSir858dsTE3yfWTsDWsinO66\n3voFik5GijfRNeiIZZ7pYGX3YhW7WnuZe+21Yh9y4Kuvz6BTszJSQPQj4MHi\n2xcBynpP7048E7q+OKHO/UGYvodctGzyXfy37aoq+kDmQ9igp7xjZs6rxTWY\nVGXrG721L3OsCcSZTrpClVjxzKlzgj+C6aNj3IhqjQ/uBd9OwbJqktHqe+Vk\nNE4nvSAoFDOgf2utUOLsjrIgCH4NYgDQNwZ8pfyr1TGjjjwZfn9XmtjswArj\n2uydJO9pkrfemq7LS+LxcGydtaHqR27CTOigd13Aba1pguMAxN2/508Bx9jd\nY6xcwK1lxRDBZMGq8bmZVYlE74DnuieOd+BkX8wcYFQZoT1W0/XH1boDQgs5\nP/3C6kG1BOKAagPrvMJwr+PGXztFDAsxuvKYU+pMzpOmyYnIcXjd/1mn3DNH\njKjBbLxLV2AIpciRHpf2Jl/iI6RTXkaf8uZJrC/pgRQInwtNSKHRZPhFvkps\nqLaQRSKLEg+/KCfo7GAHonve3/5cJv7xtgnJabl9rAv3RSuw2KgZUn+7GSvQ\nZCAq\r\n=GJoB\r\n-----END PGP SIGNATURE-----\r\n" |
| 342 |
}, |
| 343 |
"maintainers": [ |
| 344 |
{ |
| 345 |
"name": "sindresorhus", |
| 346 |
"email": "[email protected]" |
| 347 |
} |
| 348 |
], |
| 349 |
"directories": {}, |
| 350 |
"_npmOperationalInternal": { |
| 351 |
"host": "s3://npm-registry-packages", |
| 352 |
"tmp": "tmp/path-key_3.1.0_1554447164202_0.31022058392905505" |
| 353 |
}, |
| 354 |
"_hasShrinkwrap": false |
| 355 |
}, |
| 356 |
"3.1.1": { |
| 357 |
"name": "path-key", |
| 358 |
"version": "3.1.1", |
| 359 |
"description": "Get the PATH environment variable key cross-platform", |
| 360 |
"license": "MIT", |
| 361 |
"repository": { |
| 362 |
"type": "git", |
| 363 |
"url": "git+https://github.com/sindresorhus/path-key.git" |
| 364 |
}, |
| 365 |
"author": { |
| 366 |
"name": "Sindre Sorhus", |
| 367 |
"email": "[email protected]", |
| 368 |
"url": "sindresorhus.com" |
| 369 |
}, |
| 370 |
"engines": { |
| 371 |
"node": ">=8" |
| 372 |
}, |
| 373 |
"scripts": { |
| 374 |
"test": "xo && ava && tsd" |
| 375 |
}, |
| 376 |
"keywords": [ |
| 377 |
"path", |
| 378 |
"key", |
| 379 |
"environment", |
| 380 |
"env", |
| 381 |
"variable", |
| 382 |
"var", |
| 383 |
"get", |
| 384 |
"cross-platform", |
| 385 |
"windows" |
| 386 |
], |
| 387 |
"devDependencies": { |
| 388 |
"@types/node": "^11.13.0", |
| 389 |
"ava": "^1.4.1", |
| 390 |
"tsd": "^0.7.2", |
| 391 |
"xo": "^0.24.0" |
| 392 |
}, |
| 393 |
"gitHead": "caea269db3a5eb0c09c793f4be5435312971d2fa", |
| 394 |
"bugs": { |
| 395 |
"url": "https://github.com/sindresorhus/path-key/issues" |
| 396 |
}, |
| 397 |
"homepage": "https://github.com/sindresorhus/path-key#readme", |
| 398 |
"_id": "[email protected]", |
| 399 |
"_nodeVersion": "10.17.0", |
| 400 |
"_npmVersion": "6.11.3", |
| 401 |
"_npmUser": { |
| 402 |
"name": "sindresorhus", |
| 403 |
"email": "[email protected]" |
| 404 |
}, |
| 405 |
"dist": { |
| 406 |
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", |
| 407 |
"shasum": "581f6ade658cbba65a0d3380de7753295054f375", |
| 408 |
"tarball": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", |
| 409 |
"fileCount": 5, |
| 410 |
"unpackedSize": 4553, |
| 411 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2BEWCRA9TVsSAnZWagAAYX0P/Rz/b6MNfPe+VoHlRz8Q\nJQlrCaHeSa+2Hj4XhEt+DWDfpDMXX5OcgAOiz6JzF4Hnsx+VGpQZsYkp7F3q\noQjcL0pQ2sA25U14C5mP06VMKGMmsDnXMX/iIc7VYyC6/JUGdtxAOs42pAJG\n9fs8fha47T2gFWsAziytzdTODop1UCtbfDTsOrO81KUzMfhmLAxVaIBHztaD\nOgdxOeINVMrqyCplRnOYHXjjd10CbqVWBmqtyIAMJj84cHitF/03ZHhpvt1P\ngzpTkH60nVm3gaMnMz+akGLapyy2I72MjZcuRx3Tkw8Qqwm7lGygoE/UCtfR\noo5MtUSgnPPLZf/BHuRGwd2L8rCxqnaLYO6su05/1WC4MmGacRni2czBybTp\niTUh30Lzhwna47u+VfWTv77kPlV3IqcSSMnKVCwF4Ea4Z+diQ8K0BCzp/N7U\nXxpN1nh1jqR8kMcQr9ybgTsQ5Xv/x/KNvMNpGnBu/VfAuy0q7XG4k0efI4NJ\nGXtl3LzeTgw94KtVeaC5V/+iBijPvO2TGCoOoONaSkGPP8UlLaabCr62O76h\nxe15coJ04Yz8cPTzyOOMkoUJrtJmG6whwI/OqIxKaNKGUzL0u0YZDTepeJD2\nYw+LxPkIJwaw5ohi7nMFh6pR4Fva28KOQvbYUMM80/R1VZDvwMBqpQCJNlV0\nYPc9\r\n=1qcn\r\n-----END PGP SIGNATURE-----\r\n" |
| 412 |
}, |
| 413 |
"maintainers": [ |
| 414 |
{ |
| 415 |
"name": "sindresorhus", |
| 416 |
"email": "[email protected]" |
| 417 |
} |
| 418 |
], |
| 419 |
"directories": {}, |
| 420 |
"_npmOperationalInternal": { |
| 421 |
"host": "s3://npm-registry-packages", |
| 422 |
"tmp": "tmp/path-key_3.1.1_1574441238024_0.7107545641938868" |
| 423 |
}, |
| 424 |
"_hasShrinkwrap": false |
| 425 |
} |
| 426 |
}, |
| 427 |
"readme": "# path-key [](https://travis-ci.org/sindresorhus/path-key)\n\n> Get the [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) environment variable key cross-platform\n\nIt's usually `PATH`, but on Windows it can be any casing like `Path`...\n\n\n## Install\n\n```\n$ npm install path-key\n```\n\n\n## Usage\n\n```js\nconst pathKey = require('path-key');\n\nconst key = pathKey();\n//=> 'PATH'\n\nconst PATH = process.env[key];\n//=> '/usr/local/bin:/usr/bin:/bin'\n```\n\n\n## API\n\n### pathKey(options?)\n\n#### options\n\nType: `object`\n\n##### env\n\nType: `object`<br>\nDefault: [`process.env`](https://nodejs.org/api/process.html#process_process_env)\n\nUse a custom environment variables object.\n\n#### platform\n\nType: `string`<br>\nDefault: [`process.platform`](https://nodejs.org/api/process.html#process_process_platform)\n\nGet the PATH key for a specific platform.\n\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-path-key?utm_source=npm-path-key&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", |
| 428 |
"maintainers": [ |
| 429 |
{ |
| 430 |
"name": "sindresorhus", |
| 431 |
"email": "[email protected]" |
| 432 |
} |
| 433 |
], |
| 434 |
"time": { |
| 435 |
"modified": "2019-11-22T16:47:21.759Z", |
| 436 |
"created": "2015-12-28T18:36:51.108Z", |
| 437 |
"1.0.0": "2015-12-28T18:36:51.108Z", |
| 438 |
"2.0.0": "2016-09-25T06:27:06.037Z", |
| 439 |
"2.0.1": "2016-09-26T10:55:53.120Z", |
| 440 |
"3.0.0": "2019-03-10T14:13:28.802Z", |
| 441 |
"3.1.0": "2019-04-05T06:52:44.335Z", |
| 442 |
"3.1.1": "2019-11-22T16:47:18.153Z" |
| 443 |
}, |
| 444 |
"homepage": "https://github.com/sindresorhus/path-key#readme", |
| 445 |
"keywords": [ |
| 446 |
"path", |
| 447 |
"key", |
| 448 |
"environment", |
| 449 |
"env", |
| 450 |
"variable", |
| 451 |
"var", |
| 452 |
"get", |
| 453 |
"cross-platform", |
| 454 |
"windows" |
| 455 |
], |
| 456 |
"repository": { |
| 457 |
"type": "git", |
| 458 |
"url": "git+https://github.com/sindresorhus/path-key.git" |
| 459 |
}, |
| 460 |
"author": { |
| 461 |
"name": "Sindre Sorhus", |
| 462 |
"email": "[email protected]", |
| 463 |
"url": "sindresorhus.com" |
| 464 |
}, |
| 465 |
"bugs": { |
| 466 |
"url": "https://github.com/sindresorhus/path-key/issues" |
| 467 |
}, |
| 468 |
"license": "MIT", |
| 469 |
"readmeFilename": "readme.md", |
| 470 |
"users": { |
| 471 |
"faraoman": true, |
| 472 |
"zuojiang": true |
| 473 |
} |
| 474 |
} |