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

std/fmt/colors.ts>setColorEnabled

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function setColorEnabled
import { setColorEnabled } from "https://deno.land/std@0.142.0/fmt/colors.ts";

Set changing text color to enabled or disabled

Parameters

value: boolean