Skip to main content
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.0.21/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>