sindresorhus / string-width
Get the visual width of a string - the number of columns required to display it
☆487Updated 10 months ago
Alternatives and similar repositories for string-width:
Users that are interested in string-width are comparing it to the libraries listed below
- Find a file or directory by walking up parent directories☆605Updated last month
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated 10 months ago
- Find the root directory of a Node.js project or npm package☆242Updated last year
- Pretty unicode tables for the command line☆561Updated 5 months ago
- Simple “Least Recently Used” (LRU) cache☆698Updated 3 weeks ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆239Updated 2 years ago
- Delay a promise a specified amount of time☆614Updated last year
- Parse JSON with more helpful errors☆364Updated 3 weeks ago
- Get a random temporary file or directory path☆428Updated last year
- the mighty option parser used by yargs☆508Updated 3 months ago
- Colored symbols for various log levels☆755Updated 8 months ago
- Copy files☆428Updated 9 months ago
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆692Updated last year
- Autocomplete prompt for inquirer☆357Updated last year
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆722Updated 3 weeks ago
- Virtual file format for text processing used in @unifiedjs☆495Updated 3 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆348Updated 6 months ago
- Get stdin as a string or buffer☆337Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆331Updated 4 months ago
- Open stuff like URLs, files, executables. Cross-platform.☆423Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆336Updated 3 weeks ago
- Convert a string to a valid safe filename☆499Updated 2 years ago
- Strip ANSI escape codes from a string☆414Updated 3 months ago
- Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!☆355Updated 10 months ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆469Updated last week
- easily create complex multi-column command-line-interfaces.☆374Updated 3 weeks ago
- Join all arguments together and normalize the resulting url.☆362Updated last year
- node byte string parser☆469Updated 10 months ago
- Get metadata of a package from the npm registry☆241Updated 9 months ago
- Simple micro templating☆362Updated 2 years ago