sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆492Updated 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:
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated last year
- Find a file or directory by walking up parent directories☆620Updated last month
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆478Updated 2 months ago
- easily create complex multi-column command-line-interfaces.☆377Updated last week
- the mighty option parser used by yargs☆513Updated this week
- Get a random temporary file or directory path☆434Updated 2 years ago
- Pretty-print a javascript object as a tree☆250Updated 9 months ago
- Find the root directory of a Node.js project or npm package☆247Updated last month
- encode & decode HTML & XML entities with ease & speed☆354Updated this week
- Pretty unicode tables for the command line☆576Updated 8 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆342Updated 3 weeks ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆350Updated 9 months ago
- ANSI escape codes for manipulating the terminal☆518Updated last year
- Parse JSON with more helpful errors☆366Updated 3 months ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆239Updated 2 years ago
- Delay a promise a specified amount of time☆619Updated 2 years ago
- Simple “Least Recently Used” (LRU) cache☆712Updated 3 months ago
- Copy files☆429Updated last year
- Strip comments from JSON. Lets you use comments in your JSON files!☆613Updated 2 months ago
- Strip ANSI escape codes from a string☆420Updated 6 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆728Updated 3 months ago
- Virtual file format for text processing used in @unifiedjs☆511Updated 5 months ago
- node byte string parser☆470Updated last year
- Is the given string an acceptable npm package name?☆303Updated last week
- Get metadata of a package from the npm registry☆242Updated last year
- Create clickable links in the terminal☆641Updated 2 months ago
- Handler for htmlparser2, to get a DOM☆356Updated this week
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆695Updated last year
- Create and parse HTTP Content-Disposition header☆234Updated last week
- Autocomplete prompt for inquirer☆361Updated last year