UNPKG

pnpm

Version:

Fast, disk space efficient package manager

111 lines (110 loc) 5.07 kB
{ "_args": [ [ { "raw": "which@1.3.1", "scope": null, "escapedName": "which", "name": "which", "rawSpec": "1.3.1", "spec": "1.3.1", "type": "version" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/@pnpm/config" ] ], "_from": "which@1.3.1", "_hasShrinkwrap": false, "_id": "which@1.3.1", "_location": "/which", "_nodeVersion": "10.0.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/which_1.3.1_1527287252351_0.9093966007084426" }, "_npmUser": { "name": "isaacs", "email": "i@izs.me" }, "_npmVersion": "6.0.1", "_phantomChildren": {}, "_requested": { "raw": "which@1.3.1", "scope": null, "escapedName": "which", "name": "which", "rawSpec": "1.3.1", "spec": "1.3.1", "type": "version" }, "_requiredBy": [ "/@pnpm/config", "/@zkochan/libnpx", "/@zkochan/npm-lifecycle", "/cross-spawn", "/node-gyp", "/term-size/cross-spawn" ], "_resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "_shasum": "a45043d54f5805316da8d62f9f50918d3da70b0a", "_shrinkwrap": null, "_spec": "which@1.3.1", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/@pnpm/config", "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.6.2", "tap": "^12.0.1" }, "directories": {}, "dist": { "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "shasum": "a45043d54f5805316da8d62f9f50918d3da70b0a", "tarball": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "fileCount": 6, "unpackedSize": 9419, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCI3VCRA9TVsSAnZWagAAILoP/RHSoHTTTbIOg0UG8vtG\nEI7F2ueoGwFFiJAB+xPIEE1B8kP8WqJ3zW2StJ6fY5y53lTDoVyNFKYX9HTI\nBmrhEf2+SaHSYfiG1chBs8MIdatKswhZDy4r+Fyzk50UcgdaaJOBRfer9y8R\nGNISIjep1SQWB+KXhvV2SUg4DkOtcUc9XUHEEopPh9GLGM8HE+aMIYMOvdSK\naSbo8Kq4Ec9Kf8PvPSLV5mU7QFXodqVSkeM4tcZPxi0kGn5ZS/UzpHUian0y\n0EFrfb+IjlXmY7EFIB8Y2aVz8wjowNhAchROdNKAGDzCS4k78vwnSUbYVb5L\nazMs3SoujuYzKxdBo4Ifm/PTfWicgwH1L5vku3zsZ+ss3sgaMjBXDVGc/4bh\nmZ2aPx/DTrySjw6TXySHTbKqFuH6g8n6JWugcGJl0Ai15RNqjojA8FeVR1C0\nabteBcL8ly6pRLX3HwU/l229uFKL0jBVVvtaLsvB3mhMq3k75co36fCz7p13\nqlLXaNvmq6Tu6A0xpRzgkPwmb7DqWqvApz6RulJXobSBn9euJh09dWvMdrgx\n2VzqdpnNkMqXlYtrJEe7bdbCsNRZw/TzYMD+GBabGw4qppGSWkPtYCuTJNE1\nF3QxwZp47woCXnBqPbavSUsVqQQMxHb4y959ltS+0OifWWZy6EU4AG0zv5aL\nTbyd\r\n=c6n/\r\n-----END PGP SIGNATURE-----\r\n" }, "files": [ "which.js", "bin/which" ], "gitHead": "563406d75b97f97a33e506b9cc7a82b268332b6f", "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.1" }