Similar to node's join from path module.
Typically used to build filepaths and URLs.
All slashes ("/") at start and end of segments will be removed.
Slashes not at start or end will remain.
Segments that are empty (after slash removal) will be removed from the path.
Similar to node's
join
frompath
module. Typically used to build filepaths and URLs. All slashes ("/") at start and end of segments will be removed. Slashes not at start or end will remain. Segments that are empty (after slash removal) will be removed from the path.