Search results
28 packages found
truncates a html string without messing up the tags
Tag-safe truncation for HTML and XML. Works by word!
truncate html to a specified length but maintain the structure
A light-weight js utility that truncates overflowing text with ellipsis, and shows the text content on hover with a scroll effect.
Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
rehype plugin to infer file metadata from the document
Fast and correct clip functions for HTML and plain text.
hast utility to truncate the tree to a certain number of characters
A simple ellipsis directive for Angular 15+ that cuts content and adds '…' character if HTML content is overflowed.
Converts special characters in a string to the corresponding HTML entities, then truncates the resulting string carefully (HTML entities are not cut in the middle).
Line clamp a DOM element in vanilla JavaScript
A simple Vue 3 component that's truncate your text.
Fast and correct clip functions for HTML and plain text.
A React component which truncates lines of HTML.
Expand and collapse HTML content
Truncate HTML based on characters, words or paragraphs. Has the ability to strip tags.
Excerpting text of given words or characters from HTML.
Tag-safe truncation for HTML and XML. Works by word!