@aredridel/url-relative (npm): calculate RFC 1808 relative URLs (inverse of url.resolve)
Keywords: url|uri|relative|resolve