sindresorhus / cli-truncate
Truncate a string to a specific width in the terminal
☆87Updated last year
Alternatives and similar repositories for cli-truncate:
Users that are interested in cli-truncate are comparing it to the libraries listed below
- Lazy number range generator☆81Updated last year
- Toggle the CLI cursor☆107Updated 8 months ago
- Check if your package was installed globally☆70Updated last year
- Get the path of the parent module☆77Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Columnated lists for the CLI. Unicode and ANSI safe.☆36Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Indent each line in a string☆113Updated 2 years ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 10 months ago
- Clean and beautiful options for minimist☆53Updated 2 years ago
- Reliably get the terminal window size☆141Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 5 months ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Rename a function☆46Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Copy a file☆120Updated last year
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Conditional promise chains☆60Updated 4 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 11 months ago
- Make a function mimic another one☆94Updated 5 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago