sindresorhus / string-width-cliLinks
Get the visual width of a string - the number of columns required to display it
☆13Updated 2 years ago
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:
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Lowercase the keys of an object☆41Updated 2 years ago
- Get the URL from a web shortcut file☆14Updated 4 years ago
- Modify the values of an object☆29Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Check if a value is a regular expression☆26Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆39Updated 2 months ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Updated 4 years ago
- Get an array of parent directories including itself☆26Updated 2 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Modify the filename in a path☆17Updated 3 years ago
- Convert a Source Map object to a comment☆16Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Check if a value is a function☆29Updated 4 years ago
- Check if a value is an error constructor☆14Updated 4 years ago
- Display a notification (macOS 10.9+)☆90Updated 2 weeks ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Sort an array of numbers☆18Updated 2 months ago
- Get the path to the user home directory☆13Updated 4 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆18Updated 4 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Updated 4 years ago
- Strip UTF-8 byte order mark (BOM)☆22Updated 2 months ago
- Get the values of an object☆27Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Check if a value is a Blob☆23Updated 2 years ago
- Get the version of a binary in semver format☆42Updated last year