97 lines
3.8 KiB
JSON
97 lines
3.8 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "isexe@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "isexe",
|
|
"name": "isexe",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/which"
|
|
]
|
|
],
|
|
"_from": "isexe@>=2.0.0 <3.0.0",
|
|
"_id": "isexe@2.0.0",
|
|
"_inCache": true,
|
|
"_location": "/isexe",
|
|
"_nodeVersion": "8.0.0-pre",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-12-west.internal.npmjs.com",
|
|
"tmp": "tmp/isexe-2.0.0.tgz_1490230396126_0.8949183595832437"
|
|
},
|
|
"_npmUser": {
|
|
"name": "isaacs",
|
|
"email": "i@izs.me"
|
|
},
|
|
"_npmVersion": "4.4.2",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "isexe@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "isexe",
|
|
"name": "isexe",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/which"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
|
"_shasum": "e8fbf374dc556ff8947a10dcb0572d633f2cfa10",
|
|
"_shrinkwrap": null,
|
|
"_spec": "isexe@^2.0.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/which",
|
|
"author": {
|
|
"name": "Isaac Z. Schlueter",
|
|
"email": "i@izs.me",
|
|
"url": "http://blog.izs.me/"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/isaacs/isexe/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Minimal module to check if a file is executable.",
|
|
"devDependencies": {
|
|
"mkdirp": "^0.5.1",
|
|
"rimraf": "^2.5.0",
|
|
"tap": "^10.3.0"
|
|
},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"dist": {
|
|
"shasum": "e8fbf374dc556ff8947a10dcb0572d633f2cfa10",
|
|
"tarball": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz"
|
|
},
|
|
"gitHead": "10f8be491aab2e158c7e20df64a7f90ab5b5475c",
|
|
"homepage": "https://github.com/isaacs/isexe#readme",
|
|
"keywords": [],
|
|
"license": "ISC",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "isaacs",
|
|
"email": "i@izs.me"
|
|
}
|
|
],
|
|
"name": "isexe",
|
|
"optionalDependencies": {},
|
|
"readme": "# isexe\n\nMinimal module to check if a file is executable, and a normal file.\n\nUses `fs.stat` and tests against the `PATHEXT` environment variable on\nWindows.\n\n## USAGE\n\n```javascript\nvar isexe = require('isexe')\nisexe('some-file-name', function (err, isExe) {\n if (err) {\n console.error('probably file does not exist or something', err)\n } else if (isExe) {\n console.error('this thing can be run')\n } else {\n console.error('cannot be run')\n }\n})\n\n// same thing but synchronous, throws errors\nvar isExe = isexe.sync('some-file-name')\n\n// treat errors as just \"not executable\"\nisexe('maybe-missing-file', { ignoreErrors: true }, callback)\nvar isExe = isexe.sync('maybe-missing-file', { ignoreErrors: true })\n```\n\n## API\n\n### `isexe(path, [options], [callback])`\n\nCheck if the path is executable. If no callback provided, and a\nglobal `Promise` object is available, then a Promise will be returned.\n\nWill raise whatever errors may be raised by `fs.stat`, unless\n`options.ignoreErrors` is set to true.\n\n### `isexe.sync(path, [options])`\n\nSame as `isexe` but returns the value and throws any errors raised.\n\n### Options\n\n* `ignoreErrors` Treat all errors as \"no, this is not executable\", but\n don't raise them.\n* `uid` Number to use as the user id\n* `gid` Number to use as the group id\n* `pathExt` List of path extensions to use instead of `PATHEXT`\n environment variable on Windows.\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/isaacs/isexe.git"
|
|
},
|
|
"scripts": {
|
|
"postpublish": "git push origin --all; git push origin --tags",
|
|
"postversion": "npm publish",
|
|
"preversion": "npm test",
|
|
"test": "tap test/*.js --100"
|
|
},
|
|
"version": "2.0.0"
|
|
}
|