The platform-specific file delimiter. Always ':'.
Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string
Join all arguments together and normalize the resulting path.
Solve the relative path from {from} to {to}. At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
Starting from leftmost {from} parameter, resolves {to} to an absolute path.
If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.
The platform-specific file separator. Always '/'.
Return the directory name of a path. Similar to the Unix dirname command.
Normalize a string path, reducing '..' and '.' parts.
When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved.
When the path is normalized to a single .
part, the platform seperator is returned.
When the path has trailing platform separator(s), they are removed.
All paths are prefixed with the platform separator.
Generated using TypeDoc
Return the last portion of a path. Similar to the Unix basename command. Often used to extract the file name from a fully qualified path.