sindresorhus / string-width
Get the visual width of a string - the number of columns required to display it
☆483Updated 6 months ago
Alternatives and similar repositories for string-width:
Users that are interested in string-width are comparing it to the libraries listed below
- Find a file or directory by walking up parent directories☆586Updated 6 months ago
- Copy files☆427Updated 5 months ago
- Simple “Least Recently Used” (LRU) cache☆687Updated last year
- easily create complex multi-column command-line-interfaces.☆372Updated last month
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆164Updated 6 months ago
- Get a random temporary file or directory path☆425Updated last year
- Pretty unicode tables for the command line☆544Updated last month
- Get stdin as a string or buffer☆336Updated last year
- Unicode symbols with fallbacks for older terminals☆598Updated 2 months ago
- Find the root directory of a Node.js project or npm package☆239Updated last year
- the mighty option parser used by yargs☆500Updated this week
- Virtual file format for text processing used in @unifiedjs☆484Updated 3 months ago
- Strip ANSI escape codes from a string