dogear

enter for all results · esc to close

string-width

github.comtool

Get the visual width of a string - the number of columns required to display it.

from
Node.js
added
2026-10-10
likes
0

similar

  1. string-length github.com

    Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes.

    tool link ↗
  2. cli-truncate github.com

    Truncate a string to a specific width in the terminal.

    tool link ↗
  3. cli-columns github.com

    Columnated unicode and ansi-safe text lists.

    tool link ↗
  4. fixedwidth github.com

    Fixed-width text formatting (UTF-8 supported).

    tool link ↗
  5. go-runewidth github.com

    Functions to get fixed width of the character or string.

    tool link ↗
  6. terminal-size github.com

    Reliably get the terminal window size.

    tool link ↗

Node.js › Packages > Command-line utilities: “Get the visual width of a string - the number of columns required to display it.”