[资源介绍]
GitHub - sindresorhus/string-width: Get the visual width of a string - the number of columns required to display it
Get the visual width of a string - the number of columns required to display it - sindresorhus/string-width
- string-width - 获取字符串的视觉宽度 - 显示它所需的列数。