Skip to main content
Module

std/fmt/colors.ts>red

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

Set text color to red.

Parameters

str: string

text to make red

Returns

string