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

x/cav/deps.ts>graph.load

A server framework for Deno
Go to Latest
function graph.load
import { graph } from "https://deno.land/x/cav@0.2.3/deps.ts";
const { load } = graph;

A Deno specific loader function that can be passed to the createModuleGraph which will use Deno.readTextFile for local files, or use fetch() for remote modules.

Parameters

specifier: string

The string module specifier from the module graph.

Returns

Promise<LoadResponse | undefined>