antfu/shikiji
A syntax highlighter based on TextMate grammars. ESM rewrite of shiki, with more features and capabilities. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 79
Flags: archived
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: n/a
- age_days: 1119
- days_rel: n/a
- days_push: 949
- n_releases_24m: 0
Adoption not part of the score
1454 stars · 36 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Shikiji is an ESM-focused rewrite of the Shiki syntax highlighter, using TextMate grammars (the same engine as VS Code) to produce accurate, beautiful code highlighting. It is fully tree-shakable, runs on any JavaScript runtime, and supports HAST-based customization; it has since been merged back into Shiki and archived.
Use cases
- highlight code blocks in a static site generator
- render syntax-highlighted code with zero runtime JavaScript
- highlight code in Cloudflare Workers or edge runtimes
- customize code highlighting output via HAST transformations
- use VS Code TextMate grammars for accurate highlighting in docs
- highlight code in a markdown pipeline
When to choose
- you need accurate, VS Code-grade syntax highlighting in an ESM-first JavaScript project
- you want tree-shakable highlighting that runs in browsers, Node.js, or edge workers
- you need fine-grained customization of the highlighted output
When to avoid
- starting a new project - use shikijs/shiki instead, since Shikiji is archived and merged back into Shiki
- you need a CommonJS-only environment without ESM support
- you need runtime highlighting of arbitrary languages with minimal bundle size
Facets
library · maturity abandoned
parser developer-tools web-development frontend developer-tools documentation browser cross-platform wasm syntax-highlighting textmate-grammar esm shiki hast zero-runtime archived nodejs
3 sources
- readme: https://github.com/antfu/shikiji · fetched 2026-08-28 · 4507047e7a29
- homepage: https://shikiji.netlify.app/ · fetched 2026-08-29 · 084fec9159db
- registry_npm: https://registry.npmjs.org/shikiji · fetched 2026-08-29 · b6fc86b241f6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antfu/shikiji | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem