{"_id":"is-executable","_rev":"12-e0c8b2cc403899b4f849aa5940743f73","name":"is-executable","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.1":{"name":"is-executable","version":"1.0.1","keywords":[],"license":"BSD-2-Clause","_id":"is-executable@1.0.1","maintainers":[{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"}],"homepage":"https://github.com/jokeyrhyme/is-executable.js#readme","bugs":{"url":"https://github.com/jokeyrhyme/is-executable.js/issues"},"dist":{"shasum":"6434e88533c160df92aa3ce0ac361452342ed870","tarball":"https://registry.npmjs.org/is-executable/-/is-executable-1.0.1.tgz","integrity":"sha512-PhW+N8eORyq6hL2zMrZ/hJ4i+b3X9gLuLQRyNijCwInPgTYkPz4Ts4Fi/pKtUINjcbGkGc7feQ/TJYsF65yCnw==","signatures":[{"sig":"MEUCIQD5n3pIUDWTcQYOS1oEt5iGGOSPlnYbcuK+TkUxvvxZowIgDtSbUsBVaFx8jNjbvH2FXdhqXcjWQZ80twwhsJI00Zs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"6434e88533c160df92aa3ce0ac361452342ed870","engines":{"npm":">=3.0.0","node":">=4.0.0"},"gitHead":"4b5d8fb44ac20907ef94708d3d7e4b7a951ca4bf","scripts":{"test":"ava","eslint":"eslint --fix .","fixpack":"fixpack","posttest":"npm-run-all eslint fixpack"},"_npmUser":{"name":"jokeyrhyme","email":"jokeyrhyme@gmail.com"},"repository":{"url":"git+https://github.com/jokeyrhyme/is-executable.js.git","type":"git"},"_npmVersion":"3.5.3","description":"cross-platform helper to determine whether a file can be executed","directories":{},"_nodeVersion":"5.3.0","dependencies":{"graceful-fs":"4.1.2"},"devDependencies":{"ava":"^0.7.0","eslint":"^1.10.3","fixpack":"^2.2.0","npm-run-all":"^1.4.0","eslint-config-standard":"^4.4.0","eslint-plugin-standard":"^1.3.1","eslint-config-semistandard":"^5.0.0","@jokeyrhyme/eslint-config-es5":"^1.0.0","@jokeyrhyme/eslint-config-es2015":"1.0.0"}},"2.0.0":{"name":"is-executable","version":"2.0.0","keywords":["executable","execute","exe","file","binary","check","detect","access","fs","permission"],"license":"MIT","_id":"is-executable@2.0.0","maintainers":[{"name":"jokeyrhyme","email":"jokeyrhyme@jokeyrhy.me"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/is-executable#readme","bugs":{"url":"https://github.com/sindresorhus/is-executable/issues"},"dist":{"shasum":"25a9326d7000e95a1d2753f7dee1c06fe6f7f3b8","tarball":"https://registry.npmjs.org/is-executable/-/is-executable-2.0.0.tgz","fileCount":5,"integrity":"sha512-55SGaVck0xq3uDz/HOA43YJ7ZknFkWDkRtUFV1aFwqvzefwDuLq8zwk8YxqkMF/SqZGdDntwUxPd7nmzuDUh5w==","signatures":[{"sig":"MEQCICyn7AWj0U7vxNKYK1Za+syLxCepNwxqan3akEGhlA9zAiB799uROUJeNLV8eYwkc2/SMRqiycVeH51YuxZF5moSSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQnmnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQyhAAiGu/MsApocR1hOdLz1+5SkyQe6a2kcEJij3Agc8wBHKk5L34\r\ny0pYstfzzKWOWku+GWgFe5N6r2OjHaFWncMAF5Rxy6Eyv917lmcHE0xQZlfZ\r\nYkWf9wh0A++yIFMArEOIuylu47tMoF2GsDHUiCrzeFxYLlYZ/Dnv2AI1r0Rc\r\n7mMn7uOD9pqzeZbDsgntSMUQzjvHT5EW8Mz/Vzal7iQto/tcEcDsQ8gt69tI\r\nY2UkSvPdtI3qplTvcP3FkVcOUlmYaddaY8bvnXSlt+VSCoGmyMB8dp9QaW0a\r\nGuvO+QJwOkCcTIa4JwKqFi8p5ClHWU9yCOLaGQ78ahIXyfLUddVgVO6IRjQH\r\noDRx6TCXz/ZK/t5vUSg1vnzCeRQlatmJ5K5Yks8piJAwvNh+Pqi0idR1Mhs+\r\n6J0qEVNtaKYHzAIy5dnMdx5JcZsb0pD8djPYwLXybO+T/kkvcuqlu/Tp8qV3\r\nzgEZ0oE4iHTAOHsvo3haeR3rcZyR1mqSZigiEfK4H/5qEzhbCnafjmUVI+nh\r\n6SxHSwGAV9Pos2mnAs7QRV51lH0kb7qHNwx2lmhtqpSvwQw7tv4H0B5vdGyg\r\nUkTJwE8e4eXVekk5scb1mfWahN1/WaFzDEWVQxhEjD1Ou4FIkg+T5cObjgEt\r\nPAbJ2FhpGB4SMBpiqxNujJqUaRfDWemcxxM=\r\n=V4NA\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":"=>14.16"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"89d1cb609c2d75bcbdb5744b35c06452cb21c0b8","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/is-executable.git","type":"git"},"_npmVersion":"8.3.2","description":"Check whether a file can be executed","directories":{},"_nodeVersion":"14.19.3","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.52.4","ava":"^4.3.3","tsd":"^0.24.1"},"_npmOperationalInternal":{"tmp":"tmp/is-executable_2.0.0_1665300902922_0.06168766125274994","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"is-executable","version":"2.0.1","keywords":["executable","execute","exe","file","binary","check","detect","access","fs","permission"],"license":"MIT","_id":"is-executable@2.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/is-executable#readme","bugs":{"url":"https://github.com/sindresorhus/is-executable/issues"},"dist":{"shasum":"d06d55981b09e8e0ac34d347f97de0ef2ec9c728","tarball":"https://registry.npmjs.org/is-executable/-/is-executable-2.0.1.tgz","fileCount":5,"integrity":"sha512-0b7IBZndv6UF62ROvSL0lCmYwgLa2etNumsVdmNZQf/pJdYstJihfg/XDzG+p+5nBzT+1hDm2G5rKkhIDnXSCg==","signatures":[{"sig":"MEQCIFgGab/H0JIdZI2fSHbTqxvW61YOaOptbswVCJ+W7Z6KAiAuCFQj7p8YeWdNyZQ8h4SqUxYgCX0hVv1LFprnEXrsjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMVuBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpoaA//dmHdpEEXhnnhId50pHrdQ5Vn4oo/TOjJl1cxGbtBIVrsUrhy\r\n3QV8cFuI8RMOaODeERpiflHBn0geusC2DJSmY/EoPK4r6f1SgiwdsZJCUsSJ\r\njWextWFcfNAZhuSmo0GDOMP1AQgZJhqi2tCemSg52eXtosAlgYS1KnOm588J\r\nz6xzy23Ag141OKTgpX6n0yaAbCfsXd9dDyN0xOgB2QPrRh8Ot5v+wdjBYblD\r\nVLzYnzxs+EN6XJ4zflxxZfQEO6Av6z7YZL03dK4yXSq8PTy9fNhIt1dRbBxq\r\nqZ/VFNgJ1IJ2BxX76Jwg85mE9KHI05IVhVhB0lJaNWdYW9ZePXdTNxvMMZLO\r\nqzqfzq1ed7FaUcuJbjMeS2IK7+rn+t3YuDoD/4PpAwrmMMOSdKL2ipT076ct\r\nWmYZ6utqu8I1GIf6cbKqcmD3yR4E40AKFlLG9iB8MHpHW0tpF2umhO0WzdID\r\n9NFEchc4W/xFpXbKCgt7QPj8broa9EzY8wRoe4UctgEWd5C/UJPiQ2FdRRDO\r\nf4DcVed+Rx+bxshu4hUChQwo90XUntlbo8OH/pcuyDn3s6MKvoH3DHy3W9E0\r\n5CPC4XK8uZSRD5kCM8iW1cNsbMcMfmM9BtziFb9+Ne5Hzdvje2cCQv4WtDFc\r\ndF5upjqf7wT4NHgiC8No7EaqZobHQDtqgx8=\r\n=L2qU\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","engines":{"node":">=14.16"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"2e656a1ce0a9c43b277d388d3bd85c313277c091","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/is-executable.git","type":"git"},"_npmVersion":"9.2.0","description":"Check whether a file can be executed","directories":{},"_nodeVersion":"19.8.1","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.52.4","ava":"^4.3.3","tsd":"^0.24.1"},"_npmOperationalInternal":{"tmp":"tmp/is-executable_2.0.1_1680956289405_0.961525455170888","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"is-executable","version":"2.0.2","description":"Check whether a file can be executed","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-executable.git"},"funding":"https://github.com/sponsors/sindresorhus","type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=14.16"},"scripts":{"//test":"xo && ava && tsd","test":"ava"},"keywords":["executable","execute","exe","file","binary","check","detect","access","fs","permission"],"devDependencies":{"ava":"^4.3.3","tsd":"^0.24.1","xo":"^0.52.4"},"gitHead":"9c576e987bcf5156c0406b42939d2395542383e1","_id":"is-executable@2.0.2","bugs":{"url":"https://github.com/sindresorhus/is-executable/issues"},"homepage":"https://github.com/sindresorhus/is-executable#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-9QQEVoQ1KPkjI914hB1JKVOcvy1NAvmnf8wPzeJ2HeXm/V+/yK8xFeS3pXSkHg3RN9dCNhAKXGn/dgHIOFCUJg==","shasum":"4c8ad3a7f9b57f17d58d605bfb7b583035718b23","tarball":"https://registry.npmjs.org/is-executable/-/is-executable-2.0.2.tgz","fileCount":5,"unpackedSize":4193,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCuhmTA6j+cAulxCsKHOa+JYdd6fdZF/uT36JDBXZZNfgIgGPQKdT46n1PrjYxFcvFbpz8cF3S4cobI9qDcMdgoJ9E="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-executable_2.0.2_1769956358195_0.3804011806882226"},"_hasShrinkwrap":false}},"time":{"created":"2015-12-17T04:27:32.061Z","modified":"2026-02-01T14:32:38.449Z","1.0.0":"2015-12-17T04:27:32.061Z","1.0.1":"2015-12-17T04:31:55.525Z","2.0.0":"2022-10-09T07:35:03.343Z","2.0.1":"2023-04-08T12:18:09.597Z","2.0.2":"2026-02-01T14:32:38.342Z"},"bugs":{"url":"https://github.com/sindresorhus/is-executable/issues"},"license":"MIT","homepage":"https://github.com/sindresorhus/is-executable#readme","keywords":["executable","execute","exe","file","binary","check","detect","access","fs","permission"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-executable.git"},"description":"Check whether a file can be executed","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"readme":"# is-executable\n\n> Check whether a file can be [executed](https://www.yesik.it/blog/2018-the-x-permission-bit)\n\n## Install\n\n```sh\nnpm install is-executable\n```\n\n## Usage\n\n```js\nimport {isExecutable} from 'is-executable';\n\n// On macOS\nawait isExecutable('/usr/bin/bash');\n//=> true\n\n// On macOS\nawait isExecutable('/Users/sindresorhus/unicorn.png');\n//=> false\n\n// On Windows\nawait isExecutable('c:\\\\Windows\\\\notepad.exe');\n//=> true\n```\n\n## API\n\n### `isExecutable(filePath: string) => Promise<boolean>`\n\n### `isExecutableSync(filePath: string) => boolean`\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}