Skip to main content
The Deno 2 Release Candidate is 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.21.4/tools/deps/colors.ts";

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string