{"id":13431180,"url":"https://github.com/sindresorhus/is-executable","last_synced_at":"2025-10-19T19:30:56.077Z","repository":{"id":57277159,"uuid":"48149986","full_name":"sindresorhus/is-executable","owner":"sindresorhus","description":"Check whether a file can be executed","archived":false,"fork":false,"pushed_at":"2023-04-08T12:18:11.000Z","size":14,"stargazers_count":43,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T11:09:13.767Z","etag":null,"topics":["nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sindresorhus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2015-12-17T03:24:57.000Z","updated_at":"2024-01-09T10:24:10.000Z","dependencies_parsed_at":"2022-09-15T19:13:00.328Z","dependency_job_id":"6d96c812-01e3-4af4-ae45-8c715b93844a","html_url":"https://github.com/sindresorhus/is-executable","commit_stats":{"total_commits":5,"total_committers":3,"mean_commits":"1.6666666666666667","dds":0.4,"last_synced_commit":"2e656a1ce0a9c43b277d388d3bd85c313277c091"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-executable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-executable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-executable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fis-executable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/is-executable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869272,"owners_count":16555575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nodejs"],"created_at":"2024-07-31T02:01:01.109Z","updated_at":"2025-10-19T19:30:55.712Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["JavaScript"],"sub_categories":[],"readme":"# is-executable\n\n\u003e 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//=\u003e true\n\n// On macOS\nawait isExecutable('/Users/sindresorhus/unicorn.png');\n//=\u003e false\n\n// On Windows\nawait isExecutable('c:\\\\Windows\\\\notepad.exe');\n//=\u003e true\n```\n\n## API\n\n### `isExecutable(filePath: string) =\u003e Promise\u003cboolean\u003e`\n\n### `isExecutableSync(filePath: string) =\u003e boolean`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fis-executable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fis-executable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fis-executable/lists"}