locate-path
Get the first path that exists on disk of multiple paths
write
Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.
detect-file
Detects if a file exists and returns the resolved filepath.