frontend/.pnpm-store/v3/files/0f/da685489e059f91cc60b345bc6457cad1878ebfa5f132bb63b901a997876750aa6cd43b3d081db0b42d18d147ec50d1d295e448e869c53f8a75aaa99c3eaa3

13 lines
272 B
Plaintext

/**
Get the visual width of the widest line in a string - the number of columns required to display it.
@example
```
import widestLine from 'widest-line';
widestLine('古\n\u001B[1m@\u001B[22m');
//=> 2
```
*/
export default function widestLine(string: string): number;