cs(): string
Colorize a string
- List of available colors:
"red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white"
Return a formated string with color
This is my helper functions
cs(): string
Colorize a string
"red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white"
Return a formated string with color
Add Package
deno add jsr:@pifplif/utils
Import symbol
import { cs } from "@pifplif/utils";
---- OR ----
Import directly with a jsr specifier
import { cs } from "jsr:@pifplif/utils";
Add Package
npx jsr add @pifplif/utils
Import symbol
import { cs } from "@pifplif/utils";
Add Package
yarn dlx jsr add @pifplif/utils
Import symbol
import { cs } from "@pifplif/utils";
Add Package
pnpm dlx jsr add @pifplif/utils
Import symbol
import { cs } from "@pifplif/utils";
Add Package
bunx jsr add @pifplif/utils
Import symbol
import { cs } from "@pifplif/utils";