sindresorhus / cli-truncateLinks
Truncate a string to a specific width in the terminal
☆87Updated last month
Alternatives and similar repositories for cli-truncate
Users that are interested in cli-truncate are comparing it to the libraries listed below
Sorting:
- Toggle the CLI cursor☆112Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Reliably get the terminal window size☆144Updated last year
- Hook and modify stdout and stderr☆55Updated last month
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Copy a file☆121Updated 2 months ago
- Convert a value to an array☆131Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated last year
- Wordwrap a string with ANSI escape codes☆129Updated last month
- Exit the process when the `esc` key is pressed☆57Updated last year
- Check if your package was installed globally☆69Updated last year
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Check if it's the first time the process is run☆81Updated last month
- Lazy number range generator☆82Updated last year
- Parse text columns, like the output of unix commands☆83Updated last month
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get the path of the caller module☆66Updated 4 years ago
- Simplified high resolution timing☆84Updated last year
- Rename a function☆47Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆142Updated last month
- Ensures a value is a valid error by making it one if not☆82Updated last month
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Conditional promise chains☆63Updated 4 years ago
- Ensure a function is only called once☆163Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Filter object keys and values into a new object☆104Updated last year