Skip to main content
Home

@deno/graph@0.96.2
Built and signed on GitHub Actions

The module graph logic for Deno CLI.

This package works with Deno
This package works with Deno
JSR Score
70%
Published
2 weeks ago (0.96.2)
function load
load(specifier: string): Promise<LoadResponse | undefined>

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.

Return Type

Promise<LoadResponse | undefined>

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@deno/graph

Import symbol

import { load } from "@deno/graph/loader";
or

Import directly with a jsr specifier

import { load } from "jsr:@deno/graph/loader";