Truncates a string to a charLimit, ignoring specified markup tags, with an optional "pretty" ellipsis ending.
Truncate a string to a specific width in the terminal
React component for truncating JSX markup
Truncate string to given length in bytes
Truncate text for React.js
The lodash method `_.truncate` exported as a module.
Truncate a semver version: `1.2.3` → `1.2.0`
Regular expression for matching semver versions
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
A tiny function for truncating a string that may contain ANSI escape sequences.
Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.
Truncate a JSON string
Truncate HTML and Keep Tags
A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.
React component for truncating multi-line spans and adding an ellipsis
Truncate text and keep urls safe
Truncates precision of GeoJSON coordinates.
TypeScript definitions for react-text-truncate
Get utf8 byte length of string
TypeScript definitions for html-truncate
A collection of helpers to perform operations on/related to a string value
TypeScript definitions for truncate-utf8-bytes
Utility components for detecting and responding to content overflow, truncation, and visibility states in the UI.
Truncates in the middle.
Ruby tool for truncating HTML strings keeping a valid HTML markup
Easy HTML string truncation, done with proper markup in mind.