string-width

v7.2.0
Get the visual width of a string - the number of columns required to display it
string character unicode width visual column columns fullwidth full-width and 15 more...

npm i string-width

Metadata

  • MIT
  • >=18
  • Sindre Sorhus
  • released 6/30/2024

Downloads

Maintainers

Sindre Sorhus