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
Go to Latest
method ModuleGraph.prototype.toJSON
import { ModuleGraph } from "https://deno.land/x/mesozoic@v1.0.0-beta.1/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