sindresorhus / string-width
Get the visual width of a string - the number of columns required to display it
☆485Updated 7 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☆589Updated 7 months ago
- Colored symbols for various log levels☆750Updated 6 months ago
- Get a random temporary file or directory path☆426Updated last year
- easily create complex multi-column command-line-interfaces.☆374Updated 2 months ago
- Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes☆165Updated 7 months ago
- Pretty unicode tables for the command line☆556Updated 2 months ago
- Copy files☆428Updated 6 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆345Updated 3 months ago
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Unicode symbols with fallbacks for older terminals☆600Updated 3 months ago
- the mighty option parser used by yargs☆503Updated last month
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆335Updated 4 months ago
- Get stdin as a string or buffer☆338Updated last year
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- Create clickable links in the terminal☆626Updated 2 years ago
- Strip ANSI escape codes from a string☆410Updated last month
- Virtual file format for text processing used in @unifiedjs☆487Updated 2 weeks ago
- node byte string parser☆467Updated 7 months ago
- Create a promise that can be canceled☆441Updated 2 years ago
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,100Updated 6 months ago
- ANSI escape codes for manipulating the terminal☆506Updated 9 months ago
- Convert a string to a valid safe filename☆494Updated last year
- Convert bytes to a human readable string: 1337 → 1.34 kB☆1,135Updated last month
- Open stuff like URLs, files, executables. Cross-platform.☆422Updated last year
- Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar☆686Updated last year
- Simple “Least Recently Used” (LRU) cache☆688Updated last year
- Get metadata of a package from the npm registry☆238Updated 7 months ago
- Simple micro templating☆363Updated 2 years ago
- Parse JSON with more helpful errors☆351Updated 11 months ago
- Implements the node.js require.resolve() algorithm☆782Updated last month