UNPKG

stdout-update

Version:

Updates the previous output in the terminal. Useful for correct rendering progress bars, animations, etc.

8 lines (7 loc) 161 B
export declare class Wrapper { #private; constructor(); wrap(str: string, limit: number): string[]; private wrapEscapes; private wrapWord; }