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