indentString(string: string,count?: number,options?: { indent?: string; includeEmptyLines?: boolean; }): string
Prepends count repetitions of indent (default: one space) to each non-empty line of string.
indentString('hello\nworld', 2); // ' hello\n world' indentString('a\n\nb', 1, { indent: '\t', includeEmptyLines: true }); // '\ta\n\t\n\tb'