cgiffard

cgiffard/downsize

Tag safe text truncation for HTML and XML!

JavaScript
41
13
BSD 3-Clause "New" or "Revised" License

Downsize is a JavaScript library for tag-safe HTML and XML text truncation, allowing users to truncate content by words or characters while maintaining proper HTML/XML structure. It is designed for developers working with web content who need to truncate text without breaking markup, handling bad HTML gracefully and offering options like appending ellipses or rounding to the end of paragraphs.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of cgiffard/downsize

Account's avatar
Extended regular expressions
Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on this repository

Top contributors

adam-zethraeus's profile
adam-zethraeus
22 contributions
cgiffard's profile
cgiffard
18 contributions
halfdan's profile
halfdan
1 contributions
remy's profile
remy
1 contributions
aiampogi's profile
aiampogi
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet