Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
wrap(
message: string,
columns?: number,
options?: { hard?: boolean; trim?: boolean; wordWrap?: boolean },
): string {
return wrapAnsi(message, columns || this.size().columns, {
hard: true,
trim: false,
...options,
});
}
}