sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆507Updated 2 months ago
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☆167Updated last year
- Find a file or directory by walking up parent directories☆626Updated last month
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆487Updated 5 months ago
- easily create complex multi-column command-line-interfaces.☆381Updated 2 months ago
- Get a random temporary file or directory path☆437Updated 2 years ago
- the mighty option parser used by yargs☆517Updated 2 months ago
- encode & decode HTML & XML entities with ease & speed☆363Updated this week
- Strip comments from JSON. Lets you use comments in your JSON files!☆618Updated 3 months ago
- Pretty unicode tables for the command line☆593Updated 11 months ago
- Find the root directory of a Node.js project or npm package☆247Updated 5 months ago
- Parse JSON with more helpful errors☆368Updated 7 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆731Updated 2 months ago
- Strip ANSI escape codes from a string☆423Updated 2 months ago
- Delay a promise a specified amount of time☆625Updated 2 weeks ago
- Copy files☆435Updated 3 weeks ago
- Pretty-print a javascript object as a tree☆253Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆695Updated 2 years ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆241Updated 2 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆357Updated last year
- node byte string parser☆474Updated last year
- Virtual file format for text processing used in @unifiedjs☆521Updated 9 months ago
- Get metadata of a package from the npm registry☆245Updated last year
- A simple, optimized JS library & node.js module for matching short, human-quality input to a list of possibilities.☆180Updated 4 years ago
- Handler for htmlparser2, to get a DOM☆356Updated last week
- Create and parse HTTP Content-Disposition header☆235Updated last week
- Convert Windows backslash paths to slash paths☆337Updated 2 years ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆344Updated 2 weeks ago
- Convert a string to a valid safe filename☆507Updated last week
- Detect the image type of a Buffer/Uint8Array☆417Updated 5 months ago
- ANSI escape codes for styling strings in the terminal☆445Updated last month