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
- Toggle the CLI cursor☆107Updated 9 months ago
- Indent each line in a string☆113Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Reliably get the terminal window size☆140Updated last year
- Lazy number range generator☆81Updated last year
- Check if your package was installed globally☆70Updated last year
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Columnated lists for the CLI. Unicode and ANSI safe.☆36Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 6 months ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- Copy a file☆120Updated last year
- Filter object keys and values into a new object☆101Updated 11 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Make a function mimic another one☆94Updated 6 months ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Simplified high resolution timing☆81Updated 7 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago