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

x/proc/src/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.37/src/deps/colors.ts";

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string