Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
truncate(
message: string,
columns?: number,
options?: { position?: 'start' | 'middle' | 'end' },
): string {
return truncate(message, columns || this.size().columns, options);
}