{"adoption": {"forks": 48, "observed_at": "2026-08-28T04:03:44.700990+00:00", "stars": 1142}, "canonical_url": "https://ross.abutalabs.com/products/twoslash", "card": {"archived": true, "artifact_type": "library", "description": "You take some Shiki, add a hint of TypeScript compiler, and 🎉 incredible static code samples", "domain": ["documentation", "developer-tools", "web-development", "programming-languages"], "enriched": true, "function": ["documentation", "markdown", "parser", "cli", "plugin-system", "developer-tools"], "health_score": 10, "homepage": "https://shikijs.github.io/twoslash/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["shikijs/twoslash"], "name": "shikijs/twoslash", "platform": ["cli"], "pushed_at": "2024-02-19T12:13:47+00:00", "repo": "shikijs/twoslash", "stars": 1142, "tags": ["syntax-highlighting", "shiki", "twoslash", "typescript-compiler", "code-samples", "remark-plugin", "markdown-it-plugin", "docusaurus", "gatsby", "vscode-extension", "nodejs", "web-server"], "topics": ["shiki-twoslash", "remark", "docusaurus", "markdown-it", "markdown-it-plugin", "remark-plugin", "typescript", "javascript", "shiki"], "urls": [], "use_cases": ["add type hover info and compiler errors to code samples in docs", "statically syntax highlight markdown code blocks with VS Code themes", "verify TypeScript code examples still compile across versions", "render twoslash-annotated code blocks in Docusaurus or Gatsby", "convert markdown and ts/tsx files to highlighted HTML via CLI"], "what_it_is": "Shiki Twoslash combines the Shiki syntax highlighter with the TypeScript compiler to generate statically rendered, type-aware code samples for documentation. It ships plugins for markdown renderers (remark, markdown-it) and static site generators (Docusaurus, Gatsby, 11ty, VuePress, Hexo), plus a CLI and a VS Code extension.", "when_to_avoid": ["you use Shiki v1.0 or later - the integration moved into Shiki's monorepo as a transformer", "you need highlighting for non-TypeScript/JavaScript samples with type information", "your docs stack isn't covered by the available renderer plugins"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/twoslash", "repo": "shikijs/twoslash", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "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:03:44.700990+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:44.700990+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:35:16.880782+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "053bb419f69d2b64c00520addffb8674666e584234fbb8ca6897d1eb6aa75c5d", "fetched_at": "2026-08-28T04:03:44.700990+00:00", "kind": "readme", "missing": false, "url": "https://github.com/shikijs/twoslash"}, {"content_hash": "e9fb0ff25c64717cd4fe3716e39cfedc7d00ac51390183b60d8c17ee7d914089", "fetched_at": "2026-08-29T12:40:32.485616+00:00", "kind": "homepage", "missing": false, "url": "https://shikijs.github.io/twoslash/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1925, "days_push": 926, "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}}