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

x/deno_graph/mod.ts>ModuleGraph#get

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

Retrieve a module from the module graph, if an error was encountered when loading the module, this method will throw with that error.

Parameters

specifier: string

Returns

Module | undefined