locate-path
Get the first path that exists on disk of multiple paths
- Category
- npm packages
npm install locate-path Official docs outline
github.comExtra Credit builds an outline of locate-path's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
p-limit Run multiple promise-returning & async functions with limited concurrency
-
find-up Find a file or directory by walking up parent directories
-
ignore Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
-
p-locate Get the first fulfilled promise that satisfies the provided testing function
-
has-flag Check if argv has a specific flag
-
safe-buffer Safer Node.js Buffer API
-
isexe Minimal module to check if a file is executable.
-
iconv-lite Convert character encodings in pure javascript.
-
path-key Get the PATH environment variable key cross-platform
-
postcss Tool for transforming styles with JS plugins
-
signal-exit when you want to fire an event no matter how a process exits.
-
mime-db Media Type Database