widest-line

Get the visual width of the widest line in a string - the number of columns required to display it

Browse on unpkg