Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dnt/lib/mod.deps.ts>colors.strikethrough

Deno to npm package build tool.
Go to Latest
function colors.strikethrough
import { colors } from "https://deno.land/x/dnt@0.32.0/lib/mod.deps.ts";
const { strikethrough } = colors;

Put horizontal line through the center of the text.

Parameters

str: string

text to strike through

Returns

string