std/node/url.ts

Deno standard library
Go to Latest
function resolve
import { resolve } from "https://deno.land/std@0.145.0/node/url.ts?s=resolve";

The url.resolve() method resolves a target URL relative to a base URL in a manner similar to that of a Web browser resolving an anchor tag HREF.

Parameters

from: string[src]
to: string[src]