sindresorhus / string-width
Get the visual width of a string - the number of columns required to display it
☆479Updated 4 months ago
Related projects ⓘ
Alternatives and complementary repositories for string-width
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆162Updated 4 months ago
- Find a file or directory by walking up parent directories☆582Updated 4 months ago
- easily create complex multi-column command-line-interfaces.☆371Updated 3 weeks ago
- Simple “Least Recently Used” (LRU) cache☆678Updated 11 months ago
- Get a random temporary file or directory path☆424Updated last year
- Get a stream as a string, Buffer, ArrayBuffer or array☆341Updated 3 weeks ago
- the mighty option parser used by yargs☆495Updated 3 weeks ago
- node byte string parser☆461Updated 4 months ago
- Open stuff like URLs, files, executables. Cross-platform.☆419Updated 11 months ago
- Strip ANSI escape codes from a string☆399Updated last year
- Delay a promise a specified amount of time☆609Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- Get stdin as a string or buffer☆337Updated last year
- Pretty unicode tables for the command line☆539Updated 5 months ago
- Copy files☆424Updated 3 months ago
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,090Updated 3 months ago
- Simple micro templating☆362Updated last year
- Parse JSON with more helpful errors☆347Updated 8 months ago
- Virtual file format for text processing used in @unifiedjs☆474Updated last month
- Colored symbols for various log levels☆744Updated 3 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆330Updated last month
- 🔍 node-ignore is the manager and filter for .gitignore rules, the one used by eslint, prettier and many others.☆440Updated 3 weeks ago
- ANSI escape codes for manipulating the terminal☆496Updated 6 months ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Run promise-returning & async functions concurrently with optional limited concurrency☆315Updated last year
- Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm☆715Updated 3 years ago
- Pretty-print a javascript object as a tree☆238Updated last month
- Memoize promise-returning & async functions☆396Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆683Updated last year
- Create and parse HTTP Content-Disposition header☆224Updated last week