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:
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Gracefully restore the CLI cursor on exit☆38Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Display a notification (macOS 10.9+)☆87Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 3 years ago
- Modify the filename in a path☆16Updated 3 years ago
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Check if a path exists☆23Updated last year
- Get the path to the user home directory☆13Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆25Updated last month
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Check if a value is a function☆27Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆18Updated 3 years ago
- Strip UTF-8 byte order mark (BOM)☆20Updated 3 years ago
- Check whether a binary version satisfies a semver range☆23Updated last year
- Get the package.json of a package from the npm registry☆19Updated last year
- Get the version of a binary in semver format☆42Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Sort an array of numbers☆17Updated 6 months ago
- Check if a value is an error constructor☆13Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Repeat a string - fast☆34Updated 4 years ago