Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cav/deps.ts>graph.ModuleGraph#get

A server framework for Deno
Go to Latest
method graph.ModuleGraph.prototype.get
Re-export
import { graph } from "https://deno.land/x/cav@0.2.3/deps.ts";
const { ModuleGraph } = graph;

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