pathvalidatepathvalidate is a Python library to sanitize/validate a string such as filenames/file-paths/etc.filepathvalidationvalidatorsanitizationsanitizerfilepathlintpython-libraryvalidation-library
is-unc-pathReturns true if a filepath is a windows UNC file path.absoluteexpressionfilefilepathismatchmatchingpathregexregexpregularuncwinwindows
detect-fileDetects if a file exists and returns the resolved filepath.detectexistsfilefile existsfile-pathfilepathpathresolveresolve fileresolve filepathcase-insensitivedetect-file-existsfile-existsfind-filesfs
url-patterneasier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.urlstringmatchingpatternroutingrouteregexmatchsegmentparsingparserparsecombinatorcombinatorscustomcustomizablefilepathpathdomainseparatorstringifygeneratetextprocessing
parse-filepathPollyfill for node.js `path.parse`, parses a filepath into an object.absolutebasenamedirdirectorydirnameextextensionextnamefilefilenamefilepathis-absolutenameobjectparseparserpartspathsegmentjavascriptnodenodejs
global-modulesThe directory used by npm for globally installed npm modules.directorydirnameglobalmodulemodulespackagepathprefixresolvefilepathinstalledjavascriptjonschlinkertnodenode-modulesnodejsnodemodulesnpmpackages
unc-path-regexRegular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.absoluteexpressionfilefilepathmatchmatchingpathregexregexpregularuncwinwindows
unused-filenameGet an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`unusedfilenamefilepathfilenameavailablesafeuniqueusablefilesystemfsexistspath
path-typeCheck if a path is a file, directory, or symlinkpathfstypeischeckdirectoryfilefilepathsymlinksymboliclinkstatstatsfilesystem
normalize-pathNormalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.absolutebackslashdelimiterfilefile-pathfilepathfixforwardfpfsnormalizepathrelativeseparatorslashslashestrailingunixurixjavascriptjonschlinkertnodenodejsposixwindows