FrDH/dotdotdot-js
dotdotdot.js, advanced cross-browser ellipsis for multiple line content. observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 92
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4698
- days_rel: n/a
- days_push: 50
- n_releases_24m: 0
Adoption not part of the score
1708 stars · 330 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
dotdotdot is a JavaScript/TypeScript plugin that truncates multiple-line text content on webpages with an ellipsis. It handles HTML markup safely, supports optional 'read more' anchors, and updates responsively as the browser resizes.
Use cases
- truncate multi-line text with an ellipsis in the browser
- add a read more link after truncated content
- responsively re-truncate text when the viewport resizes
- truncate HTML content without breaking markup
- replace CSS text-overflow for multiline text
When to choose
- you need cross-browser multiline ellipsis truncation with HTML support
- you want a small dependency-free vanilla JS plugin
- you need a 'read more' anchor appended to truncated text
When to avoid
- you only need single-line truncation (CSS text-overflow suffices)
- you need server-side or Node-based text truncation
- you require a permissively licensed library for redistribution (CC-BY-4.0)
Facets
library · maturity stable
ui-components frontend-framework web-development frontend browser ellipsis text-truncation multiline responsive typescript vanilla-js nodejs
3 sources
- readme: https://github.com/FrDH/dotdotdot-js · fetched 2026-08-28 · 6b5c9f75ab7a
- homepage: http://dotdotdot.frebsite.nl/ · fetched 2026-08-29 · 89c67194f347
- registry_npm: https://registry.npmjs.org/dotdotdot-js · fetched 2026-08-29 · 16e2919eadd3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| FrDH/dotdotdot-js | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="FrDH/dotdotdot-js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem