Cuttr.js is a very lightweight plugin with just ~7KB (minified). It truncates page content (e.g. text) within lots of elements quickly.
It's a zero dependency, multi-line ellipsis library, that does not require other libraries.
It keeps the use simple, but offers a wide range of options and methods e.g. allowing for custom ellipsis strings or multiple truncation methods.
Cuttr.js is designed to not't over complicate the way to cut strings and HMTL with js, but still being able to customize. It includes lots of examples, documentation and support.
At the end of the long string to be truncated, defined characters such as an ellipse are added to indicate that there is more content than currently visible. All this happens while the original HMTL Markup remains unchanged after content is unfolded again.
Multiple truncation methods
Truncate text without breaking the HTML
Custom ellipsis strings
Optional "Read more" anchor
Our code base is open source, which means more stable code. Thanks to contributions from other users.