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

Artifacts using String Width (21)
Sort by:Popular▼

yargs the modern, pirate-themed, successor to optimist.
Last Release on Sep 30, 2026
Elegant terminal spinner
Last Release on Nov 1, 2026
Wordwrap a string with ANSI escape codes
Last Release on Sep 23, 2026
A collection of common interactive command line user interfaces.
Last Release on Oct 28, 2026
Slice a string with ANSI escape codes
Last Release on Nov 11, 2026
align-text with ANSI support for CLIs
Last Release on Jul 14, 2026
Create boxes in the terminal
Last Release on Nov 7, 2026
Truncate a string to a specific width in the terminal
Last Release on Nov 2, 2026
The execution engine of the unified Prisma CLI.
Last Release on Oct 17, 2026
Pretty unicode tables for the command line. Based on the original cli-table.
Last Release on Mar 31, 2026