{"adoption": {"forks": 122, "observed_at": "2026-08-28T04:06:11.972177+00:00", "stars": 2086}, "canonical_url": "https://ross.abutalabs.com/products/shave", "card": {"archived": true, "artifact_type": "plugin", "description": "💈 Shave is a 0 dep JS plugin that truncates text to fit within an element based on a set max-height  ✁", "domain": ["frontend", "web-development"], "enriched": true, "function": ["ui-components", "frontend-framework"], "health_score": 10, "homepage": "https://github.com/yowainwright/shave", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["dollarshaveclub/shave"], "name": "dollarshaveclub/shave", "platform": ["browser"], "pushed_at": "2020-10-27T20:20:25+00:00", "repo": "dollarshaveclub/shave", "stars": 2086, "tags": ["text-truncation", "ellipsis", "multi-line", "zero-dependency", "javascript-plugin", "nodejs"], "topics": ["truncate", "ellipsis", "multi-line"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/shave", "repo": "dollarshaveclub/shave", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:11.972177+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:55:48.118828+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7eb412be506bddf20b2c2b62da5368c8ac6c3e3bce5fd8fdfd2863e2c04b1da3", "fetched_at": "2026-08-28T04:06:11.972177+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dollarshaveclub/shave"}, {"content_hash": "b0b5268b5702d9ded7bc04a11045789b2cf7df08bd03695275bd1dba6943bf7c", "fetched_at": "2026-08-29T10:36:01.769078+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/yowainwright/shave"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3605, "days_push": 2136, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}