Welcome to mirror list, hosted at ThFree Co, Russian Federation.

package.json « which « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8107d67899f30622f290278f9f187106f1bec5da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
  "_args": [
    [
      {
        "raw": "which@1.2.14",
        "scope": null,
        "escapedName": "which",
        "name": "which",
        "rawSpec": "1.2.14",
        "spec": "1.2.14",
        "type": "version"
      },
      "/Users/rebecca/code/npm"
    ]
  ],
  "_from": "which@1.2.14",
  "_hasShrinkwrap": false,
  "_id": "which@1.2.14",
  "_location": "/which",
  "_phantomChildren": {},
  "_requested": {
    "raw": "which@1.2.14",
    "scope": null,
    "escapedName": "which",
    "name": "which",
    "rawSpec": "1.2.14",
    "spec": "1.2.14",
    "type": "version"
  },
  "_requiredBy": [
    "#USER",
    "/",
    "/node-gyp",
    "/tap/foreground-child/cross-spawn",
    "/update-notifier/boxen/term-size/execa/cross-spawn-async"
  ],
  "_resolved": "https://registry.npmjs.org/which/-/which-1.2.14.tgz",
  "_shasum": "9a87c4378f03e827cecaf1acdf56c736c01c14e5",
  "_shrinkwrap": null,
  "_spec": "which@1.2.14",
  "_where": "/Users/rebecca/code/npm",
  "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.3.0"
  },
  "directories": {},
  "dist": {
    "shasum": "9a87c4378f03e827cecaf1acdf56c736c01c14e5",
    "tarball": "https://registry.npmjs.org/which/-/which-1.2.14.tgz"
  },
  "files": [
    "which.js",
    "bin/which"
  ],
  "homepage": "https://github.com/isaacs/node-which#readme",
  "license": "ISC",
  "main": "which.js",
  "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// 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.2.14"
}