sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆493Updated last year
Alternatives and similar repositories for string-width
Users that are interested in string-width are comparing it to the libraries listed below
Sorting:
- Find a file or directory by walking up parent directories☆619Updated 2 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated last year
- easily create complex multi-column command-line-interfaces.☆379Updated 3 weeks ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆478Updated 2 months ago
- the mighty option parser used by yargs☆514Updated 3 weeks ago
- Find the root directory of a Node.js project or npm package☆246Updated 2 months ago
- Get a random temporary file or directory path☆436Updated 2 years ago
- Pretty unicode tables for the command line☆581Updated 9 months ago
- Strip ANSI escape codes from a string☆418Updated 7 months ago
- Parse JSON with more helpful errors☆366Updated 4 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆352Updated 9 months ago
- Pretty-print a javascript object as a tree☆251Updated 10 months ago
- Get metadata of a package from the npm registry☆242Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆343Updated last month
- Delay a promise a specified amount of time☆620Updated 2 years ago
- Is the given string an acceptable npm package name?☆303Updated last month
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆240Updated this week
- encode & decode HTML & XML entities with ease & speed☆354Updated this week
- Convert Windows backslash paths to slash paths☆335Updated 2 years ago
- ANSI escape codes for manipulating the terminal☆518Updated last year
- node byte string parser☆471Updated last year
- Virtual file format for text processing used in @unifiedjs☆513Updated 6 months ago
- Matches strings against configurable strings, globs, regular expressions, and/or functions☆400Updated 2 years ago
- Handler for htmlparser2, to get a DOM☆355Updated last week
- Strip comments from JSON. Lets you use comments in your JSON files!☆616Updated 2 weeks ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆728Updated 4 months ago
- Unicode symbols with fallbacks for older terminals☆607Updated 9 months ago
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆695Updated last year
- Simple “Least Recently Used” (LRU) cache☆716Updated 4 months ago
- npm fetcher☆375Updated last month