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:
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- Get the system default UID☆11Updated last year
- Get an array of parent directories including itself☆27Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 7 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Strip UTF-8 byte order mark (BOM)☆20Updated 3 years ago
- Check if a value is a function☆27Updated 4 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Include only certain items in an array☆16Updated 3 weeks ago
- Gracefully restore the CLI cursor on exit☆38Updated 11 months ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Node.js 0.12 buffer.equals() ponyfill☆6Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Center-align the text in a string.☆23Updated 8 years ago
- Find a file given a declaration of locations.☆12Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Exclude certain items from an array☆21Updated 3 weeks ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆39Updated last year
- Repeat a string - fast☆34Updated 4 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago