Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.0-alpha.7/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.