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
- Indent each line in a string☆113Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Toggle the CLI cursor☆107Updated 7 months ago
- Get namespaced config from the closest package.json☆121Updated last year
- Columnated lists for the CLI. Unicode and ANSI safe.☆36Updated 3 years ago
- Copy a file☆121Updated last year
- Reliably get the terminal window size☆141Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆83Updated 7 months ago
- Ensure a function is only called once☆162Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Write a package.json file☆88Updated 7 months ago
- Clean and beautiful options for minimist☆53Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Block users from running your app with root permissions☆98Updated last year
- Conditional promise chains☆60Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Get the path of the parent module☆77Updated last year