Static
Readonly
fileThe file path to extract the name from
The file name
Static
Readonly
getGet all directories in a directory, does not include nested/subdirectories
The target directory to search for directories in
An array of directory paths found in the target directory
Static
Readonly
getRecursively get all files in a directory, including subdirectories
The target directory to search for files in
The file extensions to include when filtering files
Whether to include Typescript files when Javascript files are included
An array of file paths found in the target directory
Static
Readonly
javascriptList of file extensions for Javascript source files
Static
Readonly
projectThe path for this project's root directory, including the trailing slash and fallbacks for some OS's and containers
Static
Readonly
relativeGet the relative path of a file from the project root
The file path to get the relative path for
The relative path of the file from the project root
Extracts the file name from a given file path, be it relative or absolute