Why the fuck does the path module not have this?
Prepare path for require()
Tests whether one path is inside another path
A simple module to get the path with process.cwd()
Attempt to resolve the absolute filepath to a file after verifying that it exists.
Get the current working directory relative to the calling module.
Extends node's assert module with methods for testing file paths.
Check if a string is an svg path data
test whether a require string is relative
Returns true if a filepath is a windows UNC file path.
require() using a relative path from the root directory of the present module
Get the basename of a filepath excluding extension.
Easily calculate the relative path from file A to file B in Node.js project. Will calculate corre...
Get the root of a posix or windows filepath.
Parse a filepath and return an object of path parts. Falls back on native node.js `path.parse` if...
Returns `true` if a file path appears to be relative. Moved from the "relative" lib.