ComponentsUtilities

Text

Small text helpers: cut a long value at the end or in the middle, capitalize, add https:// to a bare domain, make URL slugs from any language.

Part of @tectra-ng/utils (npm install @tectra-ng/utils, also included in tectra-ng).

Features2APIThemingAccessibility

Pipes

txTruncate at the end and in the middle (good for links and ids), txCapitalize, txHttpPrefix.

txTruncate: 20 Quarterly report for...
txTruncate: 24 : '…' : 'middle' https://file…final-v2.pdf
txCapitalize In review
txHttpPrefix https://example.com/pricing

Slugs

slugify makes a Latin URL slug from a heading in any language; transliterate keeps the case.

transliterate: Novini: Shchorichniy zvit 2026!slugify: /blog/novini-shchorichniy-zvit-2026