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:
- Find a file or directory by walking up parent directories☆616Updated last month
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated last year
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆477Updated last month
- Get a random temporary file or directory path☆431Updated 2 years ago
- the mighty option parser used by yargs☆511Updated last month
- easily create complex multi-column command-line-interfaces.☆376Updated last week
- Pretty unicode tables for the command line☆573Updated 7 months ago
- Strip ANSI escape codes from a string☆419Updated 5 months ago
- encode & decode HTML & XML entities with ease & speed☆351Updated this week
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆239Updated 2 years ago
- Simple “Least Recently Used” (LRU) cache☆712Updated 3 months ago
- Parse JSON with more helpful errors☆366Updated 3 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆725Updated 3 months ago
- node byte string parser☆470Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆695Updated last year
- Find the root directory of a Node.js project or npm package☆247Updated last month
- Copy files☆429Updated 11 months ago
- Delay a promise a specified amount of time☆617Updated 2 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆349Updated 8 months ago
- Pretty-print a javascript object as a tree☆249Updated 9 months ago
- Is the given string an acceptable npm package name?☆303Updated 2 weeks ago
- Convert a string to a valid safe filename☆502Updated 2 years ago
- Virtual file format for text processing used in @unifiedjs☆508Updated 5 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆338Updated this week
- ANSI escape codes for manipulating the terminal☆517Updated last year
- Get metadata of a package from the npm registry☆243Updated 11 months ago
- Create a promise that can be canceled☆444Updated 2 years ago
- Handler for htmlparser2, to get a DOM☆355Updated this week
- Strip comments from JSON. Lets you use comments in your JSON files!☆610Updated last month
- Detect the image type of a Buffer/Uint8Array☆408Updated last month