locate-path
Get the first path that exists on disk of multiple paths
12
Versions
MIT
License
No
Install Scripts
Missing
Provenance
Supply chain provenance
Status for the latest visible version.
No SLSA provenance
npm registry signatures
gitHead linked
Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.
Maintainers
sindresorhus
Keywords
locatepathpathsfilefilesexistsfindfindersearchsearcherarrayiterableiterator
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| provenance | no-provenance | AI (provenance): sindresorhus packages predate Sigstore provenance adoption; absence is expected and not a risk signal for this well-established publisher. | ai | |
| dependencies | unvetted-dep:p-locate | AI (dependencies): p-locate is a well-known sindresorhus utility package with millions of weekly downloads; not a risk for this package. | ai |