{"id":18658375,"url":"https://github.com/shime/find-exec","last_synced_at":"2025-07-30T10:37:40.961Z","repository":{"id":20655094,"uuid":"23937261","full_name":"shime/find-exec","owner":"shime","description":"Takes a list of shell commands and returns the first available.","archived":false,"fork":false,"pushed_at":"2023-08-24T07:14:56.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T16:46:50.030Z","etag":null,"topics":[],"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/shime.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-09-11T21:59:23.000Z","updated_at":"2022-01-04T13:18:12.000Z","dependencies_parsed_at":"2024-06-18T20:02:08.121Z","dependency_job_id":"68e3b9b0-8912-4eff-96d7-ae7c7ed7c57e","html_url":"https://github.com/shime/find-exec","commit_stats":{"total_commits":37,"total_committers":6,"mean_commits":6.166666666666667,"dds":0.5135135135135135,"last_synced_commit":"421238ab3f6b4a55745aea43abc62c8b1db6d66c"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Ffind-exec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Ffind-exec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Ffind-exec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shime%2Ffind-exec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shime","download_url":"https://codeload.github.com/shime/find-exec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248467058,"owners_count":21108588,"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":[],"created_at":"2024-11-07T07:32:41.051Z","updated_at":"2025-04-11T19:32:23.081Z","avatar_url":"https://github.com/shime.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-exec\n\n[![Downloads](https://img.shields.io/npm/dt/find-exec.svg)](https://npmjs.org/package/find-exec)\n\nTakes a list of shell commands and returns the first available. Works synchronously to respect the order.\n\nReturns `null` if none of the listed commands were found.\n\n## Examples\n\n    $ which mplayer\n    which: no mplayer\n\n    $ which afplay\n    /usr/bin/afplay\n\n```javascript\nvar command = require('find-exec')([\"mplayer\", \"afplay\", \"cvlc\"])\nconsole.log(command) // afplay\n```\n\n```javascript\nvar command = require('find-exec')([\"mplayer\"])\nconsole.log(command) // null\n```\n\n## Installation\n\n    npm install find-exec\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshime%2Ffind-exec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshime%2Ffind-exec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshime%2Ffind-exec/lists"}