109 lines
3.5 KiB
JSON
109 lines
3.5 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "path-key@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "path-key",
|
|
"name": "path-key",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/npm-run-path"
|
|
]
|
|
],
|
|
"_from": "path-key@>=2.0.0 <3.0.0",
|
|
"_id": "path-key@2.0.1",
|
|
"_inCache": true,
|
|
"_location": "/path-key",
|
|
"_nodeVersion": "4.5.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-12-west.internal.npmjs.com",
|
|
"tmp": "tmp/path-key-2.0.1.tgz_1474887352898_0.8162120468914509"
|
|
},
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "2.15.9",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "path-key@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "path-key",
|
|
"name": "path-key",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/npm-run-path"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
|
|
"_shasum": "411cadb574c5a140d3a4b1910d40d80cc9f40b40",
|
|
"_shrinkwrap": null,
|
|
"_spec": "path-key@^2.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/npm-run-path",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/path-key/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Get the PATH environment variable key cross-platform",
|
|
"devDependencies": {
|
|
"ava": "*",
|
|
"xo": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "411cadb574c5a140d3a4b1910d40d80cc9f40b40",
|
|
"tarball": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "d60207f9ab9dc9e60d49c87faacf415a4946287c",
|
|
"homepage": "https://github.com/sindresorhus/path-key#readme",
|
|
"keywords": [
|
|
"path",
|
|
"key",
|
|
"environment",
|
|
"env",
|
|
"variable",
|
|
"var",
|
|
"get",
|
|
"cross-platform",
|
|
"windows"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "path-key",
|
|
"optionalDependencies": {},
|
|
"readme": "# path-key [![Build Status](https://travis-ci.org/sindresorhus/path-key.svg?branch=master)](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 --save 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\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## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/path-key.git"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"version": "2.0.1",
|
|
"xo": {
|
|
"esnext": true
|
|
}
|
|
}
|