url-toolkit

Build an absolute URL from a base URL and a relative URL (RFC 1808). No dependencies!

relative

Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.