Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_graph/lib/types.d.ts>ModuleGraph#toJSON

The module graph logic for Deno CLI
Go to Latest
method ModuleGraph.prototype.toJSON
import { ModuleGraph } from "https://deno.land/x/deno_graph@0.33.0/lib/types.d.ts";

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