Truncate a string in the middle to a specified length.
Truncate a string to a specific width in the terminal
Round a double-precision floating-point number toward zero.
Truncate string to given length in bytes
Truncate a string in the middle to a specified length.
Truncates in the middle.
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
The lodash method `_.truncate` exported as a module.
Platform byte order.
Truncate a semver version: `1.2.3` → `1.2.0`
Insert supplied variable values into a format string.
Test if a value is a string.
Tokenize a string into an array of string parts and format identifier objects.
Generate string from a token array by interpolating values.
Escape a regular expression string or pattern.
Replace search occurrences with a replacement string.
Regular expression for matching semver versions
Allocate a buffer containing a provided string.
A TruncateText component made by Instructure Inc.
Test if a value is a regular expression string.
Convert a string to lowercase.
Create a regular expression from a regular expression string.
A tiny function for truncating a string that may contain ANSI escape sequences.
Ellipsizes a string at the nearest whitespace character near the end of allowed length