Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function colors.strikethrough
import { colors } from "https://deno.land/x/deno_cache@0.5.2/deps.ts";
const { strikethrough } = colors;

Put horizontal line through the center of the text.

Parameters

str: string

text to strike through

Returns

string