{"id":18763586,"url":"https://github.com/iguntur/bin-exists","last_synced_at":"2025-12-06T03:30:10.601Z","repository":{"id":57189640,"uuid":"77585579","full_name":"iguntur/bin-exists","owner":"iguntur","description":"Check if the binary exists on system","archived":false,"fork":false,"pushed_at":"2017-05-08T04:39:30.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T05:25:30.507Z","etag":null,"topics":["async","bin","binary","exists","lightweight","promise","sync"],"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/iguntur.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}},"created_at":"2016-12-29T05:33:53.000Z","updated_at":"2020-04-09T13:06:42.000Z","dependencies_parsed_at":"2022-09-15T06:51:34.251Z","dependency_job_id":null,"html_url":"https://github.com/iguntur/bin-exists","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguntur%2Fbin-exists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguntur%2Fbin-exists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguntur%2Fbin-exists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iguntur%2Fbin-exists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iguntur","download_url":"https://codeload.github.com/iguntur/bin-exists/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239661824,"owners_count":19676411,"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":["async","bin","binary","exists","lightweight","promise","sync"],"created_at":"2024-11-07T18:26:41.350Z","updated_at":"2025-12-06T03:30:10.459Z","avatar_url":"https://github.com/iguntur.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bin-exists [![Build Status](https://travis-ci.org/iguntur/bin-exists.svg?branch=master)](https://travis-ci.org/iguntur/bin-exists) [![Build Status](https://ci.appveyor.com/api/projects/status/github/iguntur/bin-exists?branch=master\u0026svg=true)](https://ci.appveyor.com/project/iguntur/bin-exists)\n\n\u003e Check if the binary exists on system\n\n\n## Install\n\n```bash\n$ npm install --save bin-exists\n```\n\n\n## Usage\n\n\n```js\nconst binExists = require('bin-exists');\n\n// async\nbinExists('node').then(val =\u003e {\n    console.log(val);\n    //=\u003e true\n});\n\nbinExists('foo').then(val =\u003e {\n    console.log(val);\n    //=\u003e false\n});\n\n// sync\nconsole.log(binExists.sync('node'));\n//=\u003e true\n\nconsole.log(binExists.sync('foo'));\n//=\u003e false\n```\n\n\n## API\n\n### binExists(input)\n\nReturns promise for an input value\n\n### binExists.sync(input)\n\nReturns boolean for an input value\n\n#### input\n\nType: `string` \u003cbr\u003e\nRequired: `true`\n\nInput command name\n\n\n## License\n\nMIT © [Guntur Poetra](http://guntur.starmediateknik.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figuntur%2Fbin-exists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figuntur%2Fbin-exists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figuntur%2Fbin-exists/lists"}