cli-truncate
String truncator
Library to truncate strings to fit terminal widths
Truncate a string to a specific width in the terminal
86 stars
5 watching
14 forks
Language: JavaScript
last commit: over 1 year ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
| Library for controlling the CLI cursor | 105 |
| A utility library for truncating HTML-safe strings within specified boundaries. | 32 |
| Calculates the visual width of a string based on its Unicode characters and formatting options | 483 |
| Removes redundant indentation from a string by finding the minimum leading whitespace across all lines. | 136 |
| Corrects string length counting by ignoring astral symbols and ANSI escape codes. | 163 |
| A utility script to clear the terminal screen on various platforms. | 44 |
| A utility function to remove or replace parts of a string | 23 |
| Transforms text columns from Unix commands into JSON data for manipulation | 66 |
| Tools for querying metadata about the active window on various platforms. | 65 |
| A set of pre-defined terminal boxes and arrow symbols in TypeScript | 96 |
| A utility function to limit a value within a specified range | 14 |
| A utility to reliably determine the size of the terminal window in command-line applications. | 141 |
| Transforms input streams by padding each line with a specified indent | 11 |
| Creates an array of specified length filled with a given value or function returning values | 43 |
| Converts camel-cased strings into lowercased ones with a custom separator | 238 |