Ross ROSS = Recommend OSS · open-source software intelligence for agents

wooorm/starry-night

Syntax highlighting, like GitHub observed · 2026-08-28

github.com/wooorm/starry-night · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

81/100

  • Activity 86
  • Release rhythm 63
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 109.5
  • age_days: 1576
  • days_rel: 86
  • days_push: 86
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1812 stars · 37 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

starry-night is an open-source JavaScript syntax highlighting library that replicates GitHub's PrettyLights highlighting using TextMate grammars, supporting 600+ languages. It produces hast syntax trees that can be serialized to HTML or integrated with unified, remark, rehype, markdown-it, or React.

Use cases

  • highlight code blocks in markdown like GitHub does
  • syntax highlight 600+ languages on a website
  • render code snippets with GitHub-style colors
  • add syntax highlighting to a static site generator
  • highlight code in React components
  • integrate syntax highlighting with remark or rehype

When to avoid

  • you need a tiny client-side highlighter in the browser (consider lowlight or refractor)
  • you only need highlighting for a handful of common languages
  • you cannot tolerate a WASM dependency

Facets

library · maturity active

parser developer-tools markdown web-development frontend developer-tools documentation browser wasm syntax-highlighting textmate-grammars github-prettylights hast rehype remark nodejs javascript

1 source

Member repositories

RepositoryRoleHealth v2
wooorm/starry-nightmain81

For agents

markdown · JSON · MCP: product_card(name="wooorm/starry-night")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem