103 lines
3.9 KiB
JSON
103 lines
3.9 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "which@^1.2.9",
|
|
"scope": null,
|
|
"escapedName": "which",
|
|
"name": "which",
|
|
"rawSpec": "^1.2.9",
|
|
"spec": ">=1.2.9 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/cross-spawn"
|
|
]
|
|
],
|
|
"_from": "which@>=1.2.9 <2.0.0",
|
|
"_id": "which@1.3.0",
|
|
"_inCache": true,
|
|
"_location": "/which",
|
|
"_nodeVersion": "8.2.1",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/which-1.3.0.tgz_1501548893969_0.39246653905138373"
|
|
},
|
|
"_npmUser": {
|
|
"name": "isaacs",
|
|
"email": "i@izs.me"
|
|
},
|
|
"_npmVersion": "5.3.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "which@^1.2.9",
|
|
"scope": null,
|
|
"escapedName": "which",
|
|
"name": "which",
|
|
"rawSpec": "^1.2.9",
|
|
"spec": ">=1.2.9 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/cross-spawn"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz",
|
|
"_shasum": "ff04bdfc010ee547d780bec38e1ac1c2777d253a",
|
|
"_shrinkwrap": null,
|
|
"_spec": "which@^1.2.9",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/cross-spawn",
|
|
"author": {
|
|
"name": "Isaac Z. Schlueter",
|
|
"email": "i@izs.me",
|
|
"url": "http://blog.izs.me"
|
|
},
|
|
"bin": {
|
|
"which": "./bin/which"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/isaacs/node-which/issues"
|
|
},
|
|
"dependencies": {
|
|
"isexe": "^2.0.0"
|
|
},
|
|
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
|
|
"devDependencies": {
|
|
"mkdirp": "^0.5.0",
|
|
"rimraf": "^2.3.3",
|
|
"tap": "^10.7.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==",
|
|
"shasum": "ff04bdfc010ee547d780bec38e1ac1c2777d253a",
|
|
"tarball": "https://registry.npmjs.org/which/-/which-1.3.0.tgz"
|
|
},
|
|
"files": [
|
|
"which.js",
|
|
"bin/which"
|
|
],
|
|
"gitHead": "6b2de9381d6f6484489187faf24d22ac5bf3d668",
|
|
"homepage": "https://github.com/isaacs/node-which#readme",
|
|
"license": "ISC",
|
|
"main": "which.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "isaacs",
|
|
"email": "i@izs.me"
|
|
}
|
|
],
|
|
"name": "which",
|
|
"optionalDependencies": {},
|
|
"readme": "# which\n\nLike the unix `which` utility.\n\nFinds the first instance of a specified executable in the PATH\nenvironment variable. Does not cache the results, so `hash -r` is not\nneeded when the PATH changes.\n\n## USAGE\n\n```javascript\nvar which = require('which')\n\n// async usage\nwhich('node', function (er, resolvedPath) {\n // er is returned if no \"node\" is found on the PATH\n // if it is found, then the absolute path to the exec is returned\n})\n\n// sync usage\n// throws if not found\nvar resolved = which.sync('node')\n\n// if nothrow option is used, returns null if not found\nresolved = which.sync('node', {nothrow: true})\n\n// Pass options to override the PATH and PATHEXT environment vars.\nwhich('node', { path: someOtherPath }, function (er, resolved) {\n if (er)\n throw er\n console.log('found at %j', resolved)\n})\n```\n\n## CLI USAGE\n\nSame as the BSD `which(1)` binary.\n\n```\nusage: which [-as] program ...\n```\n\n## OPTIONS\n\nYou may pass an options object as the second argument.\n\n- `path`: Use instead of the `PATH` environment variable.\n- `pathExt`: Use instead of the `PATHEXT` environment variable.\n- `all`: Return all matches, instead of just the first one. Note that\n this means the function returns an array of strings instead of a\n single string.\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/isaacs/node-which.git"
|
|
},
|
|
"scripts": {
|
|
"changelog": "bash gen-changelog.sh",
|
|
"postversion": "npm run changelog && git add CHANGELOG.md && git commit -m 'update changelog - '${npm_package_version}",
|
|
"test": "tap test/*.js --cov"
|
|
},
|
|
"version": "1.3.0"
|
|
}
|