{"id":13583237,"url":"https://github.com/sindresorhus/find-up-cli","last_synced_at":"2025-07-22T12:35:15.774Z","repository":{"id":55415466,"uuid":"41723429","full_name":"sindresorhus/find-up-cli","owner":"sindresorhus","description":"Find a file by walking up parent directories","archived":false,"fork":false,"pushed_at":"2024-02-03T15:20:22.000Z","size":12,"stargazers_count":42,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-13T03:39:09.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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}},"created_at":"2015-09-01T07:21:36.000Z","updated_at":"2025-06-26T00:36:57.000Z","dependencies_parsed_at":"2024-04-17T03:06:20.055Z","dependency_job_id":"a155de69-d41c-48eb-bcb9-1f78a1bc60c0","html_url":"https://github.com/sindresorhus/find-up-cli","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.1333333333333333,"last_synced_commit":"6f480efabae11b06d8082e53ce4fc3d850346573"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sindresorhus/find-up-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Ffind-up-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Ffind-up-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Ffind-up-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Ffind-up-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/find-up-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Ffind-up-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265615696,"owners_count":23798704,"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-08-01T15:03:20.771Z","updated_at":"2025-07-22T12:35:15.745Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Files and Directories","JavaScript","Other","others"],"sub_categories":["Search","OS X"],"readme":"# find-up-cli\n\n\u003e Find a file by walking up parent directories\n\n## Install\n\n```sh\nnpm install --global find-up-cli\n```\n\n## Usage\n\n```\n$ find-up --help\n\n  Usage\n    $ find-up \u003cfilename\u003e\n\n  Options\n    --cwd=\u003cdirectory\u003e  Working directory\n    --all              Output all matching files, not just the first\n\n  Example\n    $ echo $PWD\n    /Users/sindresorhus/foo/bar\n    $ find-up unicorn.png\n    /Users/sindresorhus/unicorn.png\n    $ find-up unicorn.png --all\n    /Users/sindresorhus/foo/unicorn.png\n    /Users/sindresorhus/unicorn.png\n```\n\n## Example\n\n```\n/\n└── Users\n    └── sindresorhus\n        ├── unicorn.png\n        └── foo\n            └── bar\n                ├── baz\n                └── faz\n```\n\n```\n$ echo $PWD\n/Users/sindresorhus/foo/bar/faz\n$ find-up unicorn.png\n/Users/sindresorhus/unicorn.png\n```\n\n## Related\n\n- [find-up](https://github.com/sindresorhus/find-up) - API for this module\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Ffind-up-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Ffind-up-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Ffind-up-cli/lists"}