sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆517Updated 3 weeks 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☆632Updated 4 months ago
- easily create complex multi-column command-line-interfaces.☆383Updated last month
- Strip ANSI escape codes from a string☆431Updated 4 months ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆489Updated 7 months ago
- Get a random temporary file or directory path☆440Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆250Updated 7 months ago
- the mighty option parser used by yargs☆520Updated last month
- Pretty unicode tables for the command line☆596Updated last year
- encode & decode HTML & XML entities with ease & speed☆370Updated this week
- Pretty-print a javascript object as a tree☆257Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆698Updated 2 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆347Updated this week
- Parse JSON with more helpful errors☆372Updated 9 months ago
- ANSI escape codes for manipulating the terminal☆535Updated 2 months ago
- node byte string parser☆476Updated last year
- Handler for htmlparser2, to get a DOM☆359Updated this week
- Virtual file format for text processing used in @unifiedjs☆523Updated 11 months ago
- Is the given string an acceptable npm package name?☆306Updated last week
- Get a stream as a string, Buffer, ArrayBuffer or array☆358Updated last year
- Get metadata of a package from the npm registry☆246Updated last year
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆733Updated 4 months ago
- Delay a promise a specified amount of time☆627Updated 2 months ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆243Updated 4 months ago
- Copy files☆434Updated 2 months ago
- Stringify an object/array like JSON.stringify just without all the double-quotes☆319Updated 4 months ago
- Detect the image type of a Buffer/Uint8Array☆420Updated 7 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
- Create and parse HTTP Content-Disposition header☆237Updated 2 weeks ago
- Strip comments from JSON. Lets you use comments in your JSON files!☆622Updated 5 months ago