Skip to main content

@deno/graph@0.75.1

The module graph logic for Deno CLI.

Works with
This package works with Deno
JSR Score
70%
Published
a week ago (0.75.1)

A JavaScript/TypeScript interface to the Deno CLI's module graph logic.

Example

To build and output a graph as a JSON structure to the console:

import { createGraph } from "jsr:@deno/graph/@{VERSION}";

const graph = await createGraph("https://deno.land/x/std/testing/asserts.ts");

console.log(JSON.stringify(graph, undefined, "  "));
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @deno/graph

Import symbol

import * as mod from "@deno/graph";