A zero-dependency, vanilla JavaScript utility to truncate markdown text.
Truncate a string to a specific width in the terminal
Truncate string to given length in bytes
Truncate a semver version: `1.2.3` → `1.2.0`
Truncates precision of GeoJSON coordinates.
The lodash method `_.truncate` exported as a module.
Truncate a JSON string
Truncate HTML and Keep Tags
A tiny function for truncating a string that may contain ANSI escape sequences.
Regular expression for matching semver versions
A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.
Utility components for detecting and responding to content overflow, truncation, and visibility states in the UI.
Truncate text and keep urls safe
Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.
React component for truncating JSX markup
React component for truncating multi-line spans and adding an ellipsis
Truncate text for React.js
TypeScript definitions for react-truncate
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Truncates in the middle.
plugin to show the list of all the commands
TypeScript definitions for react-text-truncate
A TruncateList component made by Instructure Inc.
A TruncateText component made by Instructure Inc.