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

x/mesozoic/lib/types.ts>ModuleGraph#toJSON

A generic build system for Deno web apps
Latest
method ModuleGraph.prototype.toJSON
import { ModuleGraph } from "https://deno.land/x/mesozoic@v1.3.10/lib/types.ts";

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

Returns

ModuleGraphJson