{"id":16925047,"url":"https://github.com/hiroppy/preferred-search","last_synced_at":"2026-05-07T20:17:07.666Z","repository":{"id":66361465,"uuid":"132097877","full_name":"hiroppy/preferred-search","owner":"hiroppy","description":"Search files by priority.","archived":false,"fork":false,"pushed_at":"2020-08-17T02:58:12.000Z","size":2,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T19:03:59.060Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiroppy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-05-04T06:30:15.000Z","updated_at":"2018-05-04T06:48:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"beded1fc-b81d-4ed6-8c27-d74b5492cdf3","html_url":"https://github.com/hiroppy/preferred-search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fpreferred-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fpreferred-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fpreferred-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fpreferred-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroppy","download_url":"https://codeload.github.com/hiroppy/preferred-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244719404,"owners_count":20498646,"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-10-13T20:08:41.232Z","updated_at":"2026-05-07T20:17:02.618Z","avatar_url":"https://github.com/hiroppy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# preferred-search\n\nSearch files by priority.\n\n## Install\n```sh\nnpm i preferred-search\n```\n\n## Usage\n```js\nconst pSearch = require('preferred-search');\n\n// pSeatch(basePath: string, searched files: Array\u003cstring\u003e): string | null\nconst res = pSearch('.', [\n  'a.txt',\n  'b.txt'\n]);\n\nconsole.log(res); // /Users/hiroppy/preferred-search/a.txt\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fpreferred-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroppy%2Fpreferred-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fpreferred-search/lists"}