WordWrapOptions
interface WordWrapOptions {
cut?: boolean;
newline?: string;
width?: number;
}Source: string.ts:276
Word wrap options
Properties
cut: boolean
Whether to cut words longer than width
Default: ```ts false ```
newline: string
String to use for newlines
Default: ```ts '\n' ```
width: number
Maximum line width
Default: ```ts 80 ```