sindresorhus / cli-truncate
Truncate a string to a specific width in the terminal
☆85Updated last year
Related projects ⓘ
Alternatives and complementary repositories for cli-truncate
- Lazy number range generator☆82Updated 10 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated last year
- Toggle the CLI cursor☆103Updated 3 months ago
- Find multiple RegExp matches in a string☆93Updated 2 years ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Reliably get the terminal window size☆140Updated last year
- Check if your package was installed globally☆70Updated last year
- Indent each line in a string☆112Updated 2 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Copy a file☆121Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Columnated lists for the CLI. Unicode and ANSI safe.☆34Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Conditional promise chains☆60Updated 3 years ago
- Parse text columns, like the output of unix commands☆81Updated 3 years ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Import a globally installed module☆57Updated 9 months ago
- Programmatically install npm packages and corresponding peerDependencies.☆18Updated 2 years ago
- Run the Node.js binary no matter what☆138Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Clean and beautiful options for minimist☆54Updated 2 years ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Check if argv has a specific flag☆93Updated 3 years ago
- Filter object keys and values into a new object☆100Updated 5 months ago
- Convert a value to an array☆131Updated 3 years ago