GitShow/sindresorhus/locate-path
sindresorhus

locate-path

Get the first path that exists on disk of multiple paths

by sindresorhus
Star on GitHubForknpm

JavaScript

64 stars16 forks8 contributorsQuiet · 11mo agoSince 2016v8.0.0MIT

Meet the team

See all 8 on GitHub →
sindresorhus
sindresorhus24 contributions
coreyfarrell
coreyfarrell2 contributions
aaronccasanova
aaronccasanova1 contribution
abejfehr
abejfehr1 contribution
BendingBender
BendingBender1 contribution
LinusU
LinusU1 contribution
Richienb
Richienb1 contribution
fisker
fisker1 contribution

Languages

View on GitHub →
JavaScript79.5%
TypeScript20.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
abejfehr
Don't throw if entry doesn't existMergedPR

Inspired by this blog post, I set out to make metro faster. !image Even getting the stack traces from the failures of alone is occupying a non-trivial amount of time, but just like in the blog post, we can pass in to save some CPU time here

abejfehr · 3y ago
aaronccasanova
Improve robustness of `options.type`MergedPR

Updated to only allow properties on the object (as opposed to any property down the prototype chain). Removed check in as is validated at the top of both sync and async APIs to be or . I ran locally with no issues, but feel free to close if I'm missing something.

aaronccasanova · 4y ago
fisker
Accept `URL` as `cwd`MergedPR
fisker · 4y ago
Structured data for AI agents

Repository: sindresorhus/locate-path. Description: Get the first path that exists on disk of multiple paths Stars: 64, Forks: 16. Primary language: JavaScript. Languages: JavaScript (79.5%), TypeScript (20.5%). License: MIT. Latest release: v8.0.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, aaronccasanova, abejfehr, BendingBender, LinusU, Richienb, fisker.

·@ofershap

Replace github.com with gitshow.dev