Closed TorchedSammy closed 2 years ago
a couple new functions and other things to add to the fs module
pathSep
pathListSep
basename(path)
dir(path)
glob(pattern)
a couple new functions and other things to add to the fs module
Properties
pathSep
: os path directory separatorpathListSep
: separator in path env variableFunctions
basename(path)
: get basename of pathdir(path)
: get directory of pathglob(pattern)
: glob all files/directories of path