sindresorhus / string-widthLinks
Get the visual width of a string - the number of columns required to display it
☆503Updated 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☆622Updated 3 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated last year
- easily create complex multi-column command-line-interfaces.☆379Updated 3 weeks ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆480Updated 3 months ago
- Get a random temporary file or directory path☆436Updated 2 years ago
- the mighty option parser used by yargs☆514Updated 3 weeks ago
- Pretty unicode tables for the command line☆581Updated 9 months ago
- Find the root directory of a Node.js project or npm package☆246Updated 3 months ago
- Pretty-print a javascript object as a tree☆251Updated 11 months ago
- Strip ANSI escape codes from a string☆420Updated this week
- encode & decode HTML & XML entities with ease & speed☆356Updated this week
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆241Updated 3 weeks ago
- node byte string parser☆471Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆342Updated 2 months ago
- Simple “Least Recently Used” (LRU) cache☆721Updated 3 weeks ago
- Get metadata of a package from the npm registry☆243Updated last year
- Delay a promise a specified amount of time☆621Updated 2 years ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆353Updated 10 months ago
- Copy files☆430Updated 3 weeks ago
- Detect the image type of a Buffer/Uint8Array☆410Updated 3 months ago
- Parse JSON with more helpful errors☆367Updated 5 months ago
- Convert Windows backslash paths to slash paths☆335Updated 2 years ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆728Updated 5 months ago
- ANSI escape codes for manipulating the terminal☆521Updated this week
- Run promise-returning & async functions concurrently with optional limited concurrency☆339Updated 8 months ago
- Is the given string an acceptable npm package name?☆303Updated last month
- npm fetcher☆376Updated last week
- Tiny JavaScript tokenizer.☆524Updated 3 months ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆354Updated last year
- Convert a string to a valid safe filename☆504Updated 2 years ago