{"adoption": {"forks": 315, "observed_at": "2026-08-28T04:08:56.671361+00:00", "stars": 4674}, "canonical_url": "https://ross.abutalabs.com/products/react-syntax-highlighter", "card": {"archived": false, "artifact_type": "library", "description": "syntax highlighting component for react with prismjs or highlightjs ast using inline styles", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["ui-components", "frontend-framework"], "health_score": 79, "homepage": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["react-syntax-highlighter/react-syntax-highlighter"], "name": "react-syntax-highlighter/react-syntax-highlighter", "platform": ["browser", "cross-platform"], "pushed_at": "2026-02-26T22:38:37+00:00", "repo": "react-syntax-highlighter/react-syntax-highlighter", "stars": 4674, "tags": ["react", "syntax-highlighting", "prismjs", "highlightjs", "inline-styles", "code-display", "nodejs"], "topics": [], "urls": [], "use_cases": ["display highlighted code snippets in a react app", "syntax highlighting component for react without css stylesheets", "render markdown code blocks with prism or highlight.js themes", "highlight code in react native", "customize code block colors with inline styles"], "what_it_is": "A React component for syntax highlighting code blocks, built on lowlight/refractor (highlight.js and Prism grammars) using an AST to build the virtual DOM. All styles are JavaScript-based inline styles, so no external stylesheets are required.", "when_to_avoid": ["you are not using React", "you prefer CSS-class-based highlighting with a tiny bundle", "you need server-side highlighting outside of React components"], "when_to_choose": ["you want idiomatic React rendering via virtual DOM instead of dangerouslySetInnerHTML", "you need bundled JS-based themes with no stylesheet tags", "you want both highlight.js and Prism language support in one component"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-syntax-highlighter", "repo": "react-syntax-highlighter/react-syntax-highlighter", "role": "main", "score": 76}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "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:08:56.671361+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:56.671361+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:19:22.234606+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6cd2040a1b4f719481073fddac3f0717617f532880112cfbe2022769a91640c7", "fetched_at": "2026-08-28T04:08:56.671361+00:00", "kind": "readme", "missing": false, "url": "https://github.com/react-syntax-highlighter/react-syntax-highlighter"}, {"content_hash": "3219ea5ae71eed831305a009ffa9a58049b04015bc1bf090ccdc923ce0bc2d57", "fetched_at": "2026-08-29T09:03:50.448363+00:00", "kind": "homepage", "missing": false, "url": "http://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/"}, {"content_hash": "1ccf17ffcec16f1f1cdac1fd8632a359f78a4920de38b84d55f6455142b5ff57", "fetched_at": "2026-08-29T09:03:50.457899+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-syntax-highlighter"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "longevity": 100, "rhythm": 72}, "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": 3871, "days_push": 188, "days_rel": 188, "gap_med": 3, "n_releases_24m": 10}, "score": 76, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}