sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆520Updated last week
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☆634Updated 4 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆170Updated 2 weeks ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆490Updated 8 months ago
- easily create complex multi-column command-line-interfaces.☆384Updated last month
- the mighty option parser used by yargs☆519Updated last month
- encode & decode HTML & XML entities with ease & speed☆374Updated last week
- Find the root directory of a Node.js project or npm package☆250Updated this week
- Strip ANSI escape codes from a string☆432Updated 4 months ago
- Get a random temporary file or directory path☆440Updated last week
- Pretty-print a javascript object as a tree☆258Updated last year
- Pretty unicode tables for the command line☆600Updated last year
- Virtual file format for text processing used in @unifiedjs☆523Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆348Updated 3 weeks ago
- Parse JSON with more helpful errors☆372Updated 9 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆697Updated 2 months ago
- Get metadata of a package from the npm registry☆247Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆243Updated 5 months ago
- npm fetcher☆383Updated last week
- ANSI escape codes for manipulating the terminal☆536Updated 3 months ago
- Copy files☆435Updated 3 months ago
- Strip comments from JSON. Lets you use comments in your JSON files!☆622Updated 5 months ago
- Simple “Least Recently Used” (LRU) cache☆751Updated 3 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆732Updated 4 months ago
- node byte string parser☆476Updated last year
- Create and parse HTTP Content-Disposition header☆237Updated this week
- Handler for htmlparser2, to get a DOM☆360Updated this week
- ANSI escape codes for styling strings in the terminal☆450Updated 4 months ago
- Delay a promise a specified amount of time☆627Updated 3 months ago
- Convert a string to a valid safe filename☆511Updated 3 months ago