A bunch of utilities to deal with path strings.

  • The functions below do not interface with the real file system but they are used to extract some information from the given path string. It means not ensuring e.g. a file exists or a folder is a real folder on the disk. For that, simply use what already exists like Node's modules.
  • File and folder paths validation can be complex due to the variations in file path formats across different operating systems and file systems, e.g. both files and folders are valid even without extensions.

Index

Functions

Generated using TypeDoc v0.24.7