text-clipper.js [↗]

Fast and correct clip functions for HTML and plain text.

A nice utility script for truncating strings. Works with HTML and plain text, and also features options for breaking on words and image handling.

Tagged with:

Leave a comment

Note: Please be excellent (this is not YouTube and I reserve the right not to publish comments from muppets.) Your email address will not be published. Required fields are marked *