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:
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Get the URL from a web shortcut file☆14Updated 4 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Modify the values of an object☆29Updated 4 years ago
- Check if a value is a function☆29Updated 4 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Lowercase the keys of an object☆41Updated 2 years ago
- Display a notification (macOS 10.9+)☆90Updated last month
- Check if a value is a regular expression☆26Updated 4 years ago
- Check if a string is a scoped npm package name☆25Updated 3 years ago
- Get the package.json of a package from the npm registry☆19Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Updated 4 years ago
- Get an array of parent directories including itself☆26Updated 2 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆18Updated 4 years ago
- Modify the filename in a path☆17Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆27Updated 6 months ago
- Get the path of the caller module☆67Updated 4 years ago
- Get the values of an object☆27Updated 2 years ago
- Simple wildcard matching☆34Updated 3 months ago
- Check if a value is an error constructor☆14Updated 4 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Check if a number is in a given range☆22Updated 4 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Updated 4 years ago