Optional
containsOptional
dirnamerequired for relative path resolving
check if a file exists asynchronously
check if a file exists synchronously
Optional
fallbackfallback file for lookup failure
read a file asynchronously
read a file synchronously
resolve a file against directory, for given ext
option
Optional
sepdefaults to "/"
check if file is contained in
root
, always returntrue
by default. Warning: not setting this could expose path traversal vulnerabilities.