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

x/deno_graph/mod.ts>ModuleGraph#resolve

The module graph logic for Deno CLI
Go to Latest
method ModuleGraph.prototype.resolve
Re-export
import { ModuleGraph } from "https://deno.land/x/deno_graph@0.37.1/mod.ts";

Given a string URL, return the resolved string URL accounting for any redirections that might have occurred when resolving the module graph.

Parameters

specifier: string

Returns

string