{"adoption": {"forks": 451, "observed_at": "2026-08-28T04:07:55.617564+00:00", "stars": 3297}, "canonical_url": "https://ross.abutalabs.com/products/ccampbell-rainbow", "card": {"archived": false, "artifact_type": "library", "description": "Simple syntax highlighting library written in javascript", "domain": ["web-development", "frontend", "documentation"], "enriched": true, "function": ["parser", "ui-components", "developer-tools"], "health_score": 20, "homepage": "http://rainbowco.de", "language": "JavaScript", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["ccampbell/rainbow"], "name": "ccampbell/rainbow", "platform": ["browser"], "pushed_at": "2023-09-24T21:33:32+00:00", "repo": "ccampbell/rainbow", "stars": 3297, "tags": ["syntax-highlighting", "code-display", "lightweight", "css-theming", "extensible", "nodejs", "javascript"], "topics": ["javascript", "syntax-highlighting"], "urls": [], "use_cases": ["highlight code snippets on a blog or documentation site", "add syntax coloring to pre/code blocks in HTML", "highlight source code in a Node.js script", "build a custom lightweight highlighter bundle with only needed languages", "create custom CSS themes for code display", "extend an existing language with custom highlighting rules"], "what_it_is": "Rainbow is a lightweight (~2.5kb) JavaScript syntax highlighting library for coloring code blocks in web pages. It works in the browser via a data-language attribute and in Node.js, supports many languages, and is fully themable with CSS and extendable with custom language rules.", "when_to_avoid": ["you need highlighting for many obscure languages out of the box", "you need server-side rendering integration with a modern framework", "you need actively developed features or frequent updates"], "when_to_choose": ["you need a very small, dependency-free highlighter for a website", "you want CSS-based theming and easy language extension", "you only need highlighting for a handful of languages"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ccampbell-rainbow", "repo": "ccampbell/rainbow", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "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:07:55.617564+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:55.617564+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:22:42.010407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1a765a5efee56b612e5294d39594cbe43a9881ed0e6567660b1ee8f3054473c6", "fetched_at": "2026-08-28T04:07:55.617564+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ccampbell/rainbow"}, {"content_hash": "0d950b044c515815c568eea5d2f750906d8c7a4facb4f803d2401486b7388336", "fetched_at": "2026-08-29T09:35:48.456572+00:00", "kind": "homepage", "missing": false, "url": "http://rainbowco.de"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 5273, "days_push": 1074, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}