{"adoption": {"forks": 235, "observed_at": "2026-08-28T04:06:54.977956+00:00", "stars": 2475}, "canonical_url": "https://ross.abutalabs.com/products/react-to-print", "card": {"archived": false, "artifact_type": "library", "description": "Print React components in the browser", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 89, "homepage": "https://www.npmjs.com/package/react-to-print", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["MatthewHerbst/react-to-print"], "name": "MatthewHerbst/react-to-print", "platform": ["browser", "cross-platform"], "pushed_at": "2026-06-11T04:33:36+00:00", "repo": "MatthewHerbst/react-to-print", "stars": 2475, "tags": ["react", "printing", "hooks", "typescript", "browser-printing", "nodejs"], "topics": ["reactjs", "react", "javascript"], "urls": [], "use_cases": ["print a React component from the browser", "add a print button to a React page", "generate printable invoices or reports from React UI", "print dynamic content with custom fonts", "control document title when saving print output as PDF"], "what_it_is": "A React library that lets you print the content of React components directly from the browser via a hook-based API. It handles building the print window, copying styles and fonts, and provides lifecycle callbacks around the print dialog.", "when_to_avoid": ["you need server-side PDF generation rather than browser printing", "your project is not React-based", "you need pixel-perfect print layouts beyond what CSS print styles offer"], "when_to_choose": ["you need to print specific React component content without leaving the browser", "you want a simple hook API with style/font handling and print lifecycle callbacks", "you need CSP nonce support or shadow DOM content in printed output"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-to-print", "repo": "MatthewHerbst/react-to-print", "role": "main", "score": 80}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "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:54.977956+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:54.977956+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:28:22.661568+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "545474fe275f2f2bf44f3d8a3c6bfe6ad53cce360c37371c66e2aa2edce4cd6d", "fetched_at": "2026-08-28T04:06:54.977956+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MatthewHerbst/react-to-print"}, {"content_hash": "b6a0266f0da609bcedf86a4e48577eaf4f28f149c711266fe64ad1ce7897b8a1", "fetched_at": "2026-08-29T10:10:24.447492+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-to-print"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 87, "longevity": 100, "rhythm": 60}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3195, "days_push": 83, "days_rel": 191, "gap_med": 49.5, "n_releases_24m": 11}, "score": 80, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}