← all repositories

antfu/shiki-stream

A streaming syntax highlighter built on Shiki, optimized for real-time code highlighting from LLM output streams.

591 stars HTML Other AI
shiki-stream
Velocity · 7d
+1.2
★ / day
Trend
steady
star history

This library provides transform streams that apply syntax highlighting token-by-token as text streams in, useful for visualizing streaming LLM output in real time. It integrates with Shiki’s highlighter and supports Vue, React, and Solid renderers. The package now re-exports @shikijs/stream after migration.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.