sindresorhus / string-width
Get the visual width of a string - the number of columns required to display it
☆487Updated 8 months ago
Alternatives and similar repositories for string-width:
Users that are interested in string-width are comparing it to the libraries listed below
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated 9 months ago
- Find a file or directory by walking up parent directories☆600Updated this week
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 4 months ago
- Get a random temporary file or directory path☆427Updated last year
- Virtual file format for text processing used in @unifiedjs☆490Updated last month
- Colored symbols for various log levels☆752Updated 7 months ago
- easily create complex multi-column command-line-interfaces.☆374Updated this week
- ANSI escape codes for manipulating the terminal☆508Updated 10 months ago
- Pretty unicode tables for the command line☆558Updated 4 months ago
- node byte string parser☆467Updated 8 months ago
- Copy files☆428Updated 7 months ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Delay a promise a specified amount of time☆612Updated last year
- Open stuff like URLs, files, executables. Cross-platform.☆421Updated last year
- Strip ANSI escape codes from a string☆411Updated 2 months ago
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆464Updated 2 months ago
- Move a file - Even works across devices☆198Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆686Updated last year
- Get metadata of a package from the npm registry☆240Updated 8 months ago
- Pretty-print a javascript object as a tree☆245Updated 5 months ago
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆721Updated 3 years ago
- Get stdin as a string or buffer☆338Updated last year
- Create clickable links in the terminal☆626Updated 2 years ago
- Simple “Least Recently Used” (LRU) cache☆689Updated last year
- Extracting archives made easy☆415Updated 2 years ago
- Parse JSON with more helpful errors☆356Updated last year
- Strip comments from JSON. Lets you use comments in your JSON files!☆602Updated last year
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆334Updated 5 months ago
- Safely and quickly serialize JavaScript objects☆348Updated 3 months ago