sindresorhus / string-width-cli
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
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 9 months ago
- Get an array of parent directories including itself☆27Updated last year
- Trim newlines from the start and/or end of a string☆48Updated last year
- Check if a number is a redirect HTTP status code☆23Updated 3 years ago
- Modify the filename in a path☆16Updated 2 years ago
- Get the path to the user home directory☆13Updated 3 years ago
- Include only certain items in an array☆16Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a value is a function☆27Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Exclude certain items from an array☆20Updated 3 years ago
- utility to create a pretty report for a vfile☆20Updated last year
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Sort an array of numbers☆16Updated last month
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Modify the keys of an object☆15Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆36Updated 7 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Node's default require extensions as a separate module☆9Updated 2 years ago
- Check if a file path is a compressed file☆17Updated 10 months ago
- Get the avatar of a GitHub user☆21Updated 3 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 3 years ago