common-path-prefix
Computes the longest prefix string that is common to each path, excluding the base component
common-dir
Returns the parent directory common to each path
common-path
Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.
commondir
compute the closest common parent for file paths
env-paths
Get paths for storing things like data, config, cache, etc