Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ColorFunction

import type { ColorFunction } from "https://raw.githubusercontent.com/Yamboy1/deno-structured-logging/0.4.2/mod.ts";

A function that changes the color of a string in the terminal, generally from std/fmt/colors.ts

type ColorFunction = (str: string) => string;

§Type

§
(str: string) => string
[src]