sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆511Updated 3 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☆169Updated last year
- Find a file or directory by walking up parent directories☆628Updated 2 months ago
- encode & decode HTML & XML entities with ease & speed☆367Updated last week
- easily create complex multi-column command-line-interfaces.☆381Updated 3 months ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆486Updated 6 months ago
- the mighty option parser used by yargs☆519Updated 3 months ago
- Get a random temporary file or directory path☆439Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆248Updated 6 months ago
- Pretty unicode tables for the command line☆593Updated last year
- Virtual file format for text processing used in @unifiedjs☆521Updated 10 months ago
- Pretty-print a javascript object as a tree☆254Updated last year
- Strip ANSI escape codes from a string☆424Updated 2 months ago
- node byte string parser☆474Updated last year
- Delay a promise a specified amount of time☆627Updated last month
- Parse JSON with more helpful errors☆369Updated 7 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Updated last year
- ANSI escape codes for manipulating the terminal☆532Updated last month
- Strip comments from JSON. Lets you use comments in your JSON files!☆619Updated 3 months ago
- Copy files☆436Updated last month
- Detect the image type of a Buffer/Uint8Array☆418Updated 6 months ago
- A simple, optimized JS library & node.js module for matching short, human-quality input to a list of possibilities.☆180Updated 4 years ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆733Updated 2 months ago
- Create and parse HTTP Content-Disposition header☆237Updated this week
- npm fetcher☆381Updated 3 weeks ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆242Updated 3 months ago
- Simple “Least Recently Used” (LRU) cache☆739Updated last month
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆696Updated 3 weeks ago
- Parse and stringify JSON with comments. It will retain comments even when after saved!☆174Updated 2 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆344Updated last week
- Stringify an object/array like JSON.stringify just without all the double-quotes☆319Updated 2 months ago