Sha256: 7f84608411c5db35db3a6817e7f886ecd65a0446049439a62a90c1d6e6d99e96
Contents?: true
Size: 272 Bytes
Versions: 24
Compression:
Stored size: 272 Bytes
Contents
/** 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;
Version data entries
24 entries across 24 versions & 1 rubygems