Vibeleaderboard
Index / tool

js-syntax-highlight-html.wasm

qip.dev
Visit qip.dev
Category
Developer Tools
Rank
No. 1286Tools index
Platform
web · cli
Type
TOOL
Date

About

A 12.7 kB WebAssembly component that syntax-highlights JavaScript source into escaped HTML, benchmarked against Shiki, Prism, Sugar High, Starry Night, and gpu-lexer. It highlighted 5.56 MB of minified JS in 265 ms (over 100x faster than Shiki's 34.59 s) while matching Shiki's token labels on 99.97% of characters and producing far smaller HTML output.

What it can do

  • Syntax-highlight JavaScript source code into escaped HTML

    JavaScript source codeEscaped HTML with syntax highlighting

  • Run syntax highlighting via command-line interface

    JavaScript source fileHTML output

  • Invoke syntax highlighting as a JS module import

    JavaScript source codeHTML output

Tags

wasmwebassemblysyntax-highlightingjavascriptbenchmarkshikiprismdeveloper-tools

Media

js-syntax-highlight-html.wasm

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.