sindresorhus / string-width-cliLinks
Get the visual width of a string - the number of columns required to display it
☆13Updated last year
Alternatives and similar repositories for string-width-cli
Users that are interested in string-width-cli are comparing it to the libraries listed below
Sorting:
- Get the URL from a web shortcut file☆13Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆38Updated last year
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Get an array of parent directories including itself☆27Updated last year
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Get the path to the user home directory☆13Updated 4 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Display a notification (macOS 10.9+)☆88Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Modify the filename in a path☆16Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Log the value/error of a promise☆26Updated 4 years ago
- Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s☆29Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 4 years ago
- Conditional promise catch handler☆38Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 3 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆35Updated 4 years ago
- Break out of a promise chain☆23Updated 4 years ago
- Get the package.json of a package from the npm registry☆19Updated last year
- Manages complex Babel config chains, avoiding duplicated work and enabling effective caching☆14Updated 7 years ago
- Strip leading whitespace from each line in a string☆12Updated 4 years ago