Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/node/url.ts>resolve

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function resolve
import { resolve } from "https://deno.land/std@0.155.0/node/url.ts";

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
to: string