Ross ROSS = Recommend OSS ยท open-source software intelligence for agents

dollarshaveclub/shave

๐Ÿ’ˆ Shave is a 0 dep JS plugin that truncates text to fit within an element based on a set max-height โœ observed ยท 2026-10-12

github.com/dollarshaveclub/shave ยท homepage ยท JavaScript ยท MIT (permissive) ยท archived observed ยท 2026-10-12

Health v2 ยท maintenance only

10/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) โ€” computed 2026-10-22. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3654
  • days_rel: n/a
  • days_push: 2185
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2084 stars ยท 121 forks observed ยท 2026-10-12

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Shave is a zero-dependency JavaScript plugin that truncates multi-line text to fit within an HTML element based on a max-height, adding an ellipsis while preserving the original text in a hidden span. This original repository has moved to yowainwright/shave and is maintained there.

Use cases

  • truncate multi-line text with an ellipsis in the browser
  • clamp text to a max height without CSS line-clamp support
  • preserve original text after truncating a headline or card description
  • truncate text in many DOM elements quickly
  • add custom ellipsis strings to truncated text
  • truncate text for non-space-separated languages

When to choose

  • you need lightweight, dependency-free multi-line text truncation
  • you want the original text preserved after truncation
  • you need jQuery/Zepto-compatible truncation or module usage

When to avoid

  • you can use native CSS line-clamp instead
  • you need a maintained repo - use yowainwright/shave instead of this archived location
  • you need server-side or non-DOM text truncation

Facets

plugin ยท maturity maintenance

ui-components frontend-framework frontend web-development browser text-truncation ellipsis multi-line zero-dependency javascript-plugin nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
dollarshaveclub/shavemain10

For agents

markdown ยท JSON ยท MCP: product_card(name="dollarshaveclub/shave")

Data as of 2026-10-19T08:05:51.212177+00:00 ยท Report a problem