unused-filename

Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
v4.0.1 URL: https://unpkg.com/unused-filename@4.0.1/index.js
OpenBrowse Files
unusedfilenamefilepathfilenameavailablesafeuniqueusablefilesystemfsexistspath

find-up

Find a file or directory by walking up parent directories
v8.0.0 URL: https://unpkg.com/find-up@8.0.0/index.js
OpenBrowse Files
findupfind-upfinduplook-uplookfilesearchmatchpackageresolveparentparentsfolderdirectorywalkwalkingpath

locate-path

Get the first path that exists on disk of multiple paths
v8.0.0 URL: https://unpkg.com/locate-path@8.0.0/index.js
OpenBrowse Files
locatepathpathsfilefilesexistsfindfindersearchsearcherarrayiterableiterator

path-key

Get the PATH environment variable key cross-platform
v4.0.0 URL: https://unpkg.com/path-key@4.0.0/index.js
OpenBrowse Files
pathkeyenvironmentenvvariablegetcross-platformwindows

path-exists

Check if a path exists
v5.0.0 URL: https://unpkg.com/path-exists@5.0.0/index.js
OpenBrowse Files
pathexistsexistfilefilepathfsfilesystemfile-systemaccessstat