Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_graph/lib/types.d.ts>ModuleGraph#get

The module graph logic for Deno CLI
Go to Latest
method ModuleGraph.prototype.get
import { ModuleGraph } from "https://deno.land/x/deno_graph@0.33.0/lib/types.d.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