Skip to main content
Module

x/indent_and_wrap/mod.ts>IndentAndWrapOptions

Finds and replaces common indent, and hard-wraps text. 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.10/mod.ts";
definition: { endl?: string; indent?: string; ignoreFirstIndent?: boolean; wrapWidth?: number; overflowWrap?: boolean; tabWidth?: number; tabsToSpaces?: boolean; mode?: "plain" | "term"; }