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

std/fmt/colors.ts>strikethrough

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function strikethrough
import { strikethrough } from "https://deno.land/std@0.153.0/fmt/colors.ts";

Put horizontal line through the center of the text.

Parameters

str: string

text to strike through

Returns

string