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:
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Get the URL from a web shortcut file☆13Updated 4 years ago
- Modify the filename in a path☆16Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Modify the values of an object☆27Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆38Updated last year
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 4 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Get an array of parent directories including itself☆26Updated last year
- Display a notification (macOS 10.9+)☆88Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Conditional promise catch handler☆38Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Find the root directory of a Node.js project or npm package☆26Updated 3 months ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 3 years ago
- Check if a path exists☆23Updated last year
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Get the path of the caller module☆65Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Repeat a string - fast☆34Updated 4 years ago
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Get the callsite of the caller function☆52Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Check if a value is a function☆27Updated 4 years ago
- Simple cache config handling for your app or module☆21Updated 7 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 4 years ago