Skip to main content
The Deno 2 Release Candidate is here
Learn more
function Colors.strikethrough
import { Colors } from "https://deno.land/x/assert_fs@v0.1.0/deps.ts";
const { strikethrough } = Colors;

Put horizontal line through the center of the text.

Parameters

str: string

text to strike through

Returns

string