Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

`truncate-escaped-html` is a small Node.js utility that first HTML‑escapes a string (converting `& " ' < >` to their entities) and then truncates the escaped result to a given length without breaking entity sequences. It’s aimed at developers who need safe, length‑limited HTML snippets—e.g., for previews, meta tags, or UI fragments—while preserving proper escaping. The package works synchronously, supports a custom truncation suffix, and runs on any recent Node version.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

Mithgol's profile
Mithgol
15 contributions

Recent events

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

No events yet
mithgol

mithgol/node-truncate-escaped-html

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).

JavaScript
1
0
MIT License