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

x/proc/tools/deps/colors.ts>inverse

A better way to work with processes in Deno.
Go to Latest
function inverse
import { inverse } from "https://deno.land/x/proc@0.20.34/tools/deps/colors.ts";

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string