Get the visual width of a string - the number of columns required to display it
☆13Oct 28, 2023Updated 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:
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated 5 months ago
- Strip leading whitespace from each line in a string☆13Aug 19, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆17Aug 14, 2021Updated 4 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 4 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- jscodeshift wrapper to write smaller and better tests for your codemods using AVA☆13Jan 14, 2017Updated 9 years ago
- Pick random items from a list☆17Aug 10, 2021Updated 4 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 4 years ago
- Get the name of the current operating system☆21Feb 2, 2026Updated 3 weeks ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆23Aug 12, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Get environment variables from the shell☆85Feb 1, 2026Updated 3 weeks ago
- Check if a file path is a compressed file☆19Apr 30, 2024Updated last year
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 3 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Remove or replace part of a string like Array#splice☆24Apr 15, 2021Updated 4 years ago
- Get the package.json of a package from the npm registry☆19Feb 26, 2024Updated 2 years ago
- Check whether a binary version satisfies a semver range☆15Apr 3, 2024Updated last year
- Get the command history of the user's shell☆86Nov 2, 2025Updated 3 months ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Get the fullname of the current user☆15Mar 12, 2024Updated last year
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 8 months ago
- Open a website in a popup (macOS)☆19Feb 18, 2021Updated 5 years ago
- Get the path to an app (macOS)☆48May 3, 2021Updated 4 years ago
- Clear the terminal cross-platform☆45Oct 13, 2021Updated 4 years ago