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

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

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

Returns a plain-object representation of the module graph suitable for serialization as JSON, similar to the deno info --json output.