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

x/indent_and_wrap/private/indent.ts>IndentAndWrapOptions

Finds and replaces common indent, hard-wraps text, and generates text tables. Can work on text that contains terminal escape sequences.
Go to Latest
type alias IndentAndWrapOptions
import { type IndentAndWrapOptions } from "https://deno.land/x/indent_and_wrap@v0.0.11/private/indent.ts";
definition: { endl?: string; indent?: string; ignoreFirstIndent?: boolean; wrapWidth?: number; overflowWrap?: boolean; tabWidth?: number; tabsToSpaces?: boolean; mode?: "plain" | "term"; }