sindresorhus / string-width
Get the visual width of a string - the number of columns required to display it
☆487Updated 9 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☆603Updated 3 weeks ago
- the mighty option parser used by yargs☆508Updated 3 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated 9 months ago
- Virtual file format for text processing used in @unifiedjs☆493Updated 2 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆346Updated 5 months ago
- easily create complex multi-column command-line-interfaces.☆374Updated this week
- Get a random temporary file or directory path☆427Updated last year
- node byte string parser☆468Updated 9 months ago
- Pretty unicode tables for the command line☆558Updated 4 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆335Updated last week
- Copy files☆428Updated 8 months ago
- Get, set, or delete a property from a nested object using a dot path☆832Updated 11 months ago
- Open stuff like URLs, files, executables. Cross-platform.☆421Updated last year
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆691Updated last year
- Strip comments from JSON. Lets you use comments in your JSON files!☆603Updated last year
- Unicode symbols with fallbacks for older terminals☆599Updated 5 months ago
- Convert a string to a valid safe filename☆498Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆239Updated 2 years ago
- Strip ANSI escape codes from a string☆412Updated 2 months ago
- Node.js module to detect available ports of the system.☆385Updated 4 months ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆467Updated 3 months ago
- Parse JSON with more helpful errors☆362Updated last week
- Simple “Least Recently Used” (LRU) cache☆692Updated last week
- Colored symbols for various log levels☆751Updated 7 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆722Updated 3 years ago
- Implements the node.js require.resolve() algorithm☆782Updated 3 months ago
- Get stdin as a string or buffer☆338Updated last year
- Matches strings against configurable strings, globs, regular expressions, and/or functions☆390Updated last year
- Get metadata of a package from the npm registry☆240Updated 9 months ago