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

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

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

Provides a string output representation of the module graph similar to deno info with or without ANSI color escape sequences. If noColor is expressly true, the string will be returned without color escape sequences. If noColor is expressly false the returned string will include ANSI color escape sequences. If not expressly set, Deno.noColor will be used, or if the Deno namespace isn't present, will default to true and not provide ANSI color escape sequences.

Parameters

optional
noColor: boolean

An optional flag indicating if ANSI color escape codes should be included in the returned string.

Returns

string