Get the first path that exists on disk of multiple paths
Detects if a file exists and returns the resolved filepath.
check whether a command line command exists in the current environment
Drop-in replacement for fs.existsSync
with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.