{"adoption": {"forks": 131, "observed_at": "2026-08-28T04:06:41.749607+00:00", "stars": 2370}, "canonical_url": "https://ross.abutalabs.com/products/react-copy-to-clipboard", "card": {"archived": false, "artifact_type": "library", "description": "Copy-to-clipboard React component", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 81, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["nkbt/react-copy-to-clipboard"], "name": "nkbt/react-copy-to-clipboard", "platform": ["browser"], "pushed_at": "2026-03-07T10:01:52+00:00", "repo": "nkbt/react-copy-to-clipboard", "stars": 2370, "tags": ["react-component", "clipboard", "copy-to-clipboard", "npm", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["copy text to clipboard in a react app", "add a copy button to a code snippet", "copy input field value on button click", "show feedback after user copies text", "clipboard copy with fallback for older browsers"], "what_it_is": "A small React component that wraps the copy-to-clipboard library to copy text to the clipboard on click. It renders no tags itself and wraps a single child element that captures the click, with an optional onCopy callback.", "when_to_avoid": ["you are not using React", "you need the modern async Clipboard API with permissions handling", "you need to copy rich content like images or HTML, not just text"], "when_to_choose": ["you need a simple, battle-tested React wrapper for clipboard copying", "you want click-to-copy behavior on any element with minimal setup", "you need broad browser support including legacy fallbacks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-copy-to-clipboard", "repo": "nkbt/react-copy-to-clipboard", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "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:41.749607+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.749607+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:35:25.413294+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fd8938622c7a3e94cdaa79d855eb5da10ba5999586b92913b5e8e4d5c907a9a", "fetched_at": "2026-08-28T04:06:41.749607+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nkbt/react-copy-to-clipboard"}, {"content_hash": "956621851a5dd81ec3f922ff9927ec642cf578b504baac6c2be7bb7a7ec017be", "fetched_at": "2026-08-29T10:16:30.475206+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-copy-to-clipboard"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 71, "longevity": 100, "rhythm": 42}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4078, "days_push": 179, "days_rel": 179, "gap_med": null, "n_releases_24m": 1}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}