Skip to main content

Runtimes

Main packages

RuntimePackageReference
CLI@lumis-sh/cli (lumis binary), lumis-cli on crates.ionpm
Rustlumisdocs.rs
ElixirlumisHexDocs
JavaScript@lumis-sh/lumisnpm
Browsers / CDN@lumis-sh/lumisnpm
Javalumis4jGitHub

@lumis-sh/lumis covers Node.js, Bun, Deno, and browsers through one portable runtime. JavaScript and Elixir load exact, integrity-checked parser WASM per language instead of shipping an all-language binary.

Themes

RuntimePackageReference
JavaScript@lumis-sh/themesnpm

Integrations

RuntimeIntegrationPackageReference
JavaScriptReact@lumis-sh/reactnpm
JavaScriptmarkdown-it@lumis-sh/markdown-it-lumisnpm
JavaScriptrehype@lumis-sh/rehype-lumisnpm

WASM language packages

JavaScript parser grammars are also published as per-language WASM packages such as @lumis-sh/wasm-rust, @lumis-sh/wasm-javascript, and @lumis-sh/wasm-elixir.

Preset bundle packages are also available, such as @lumis-sh/wasm-bundle-web, @lumis-sh/wasm-bundle-web-extra, @lumis-sh/wasm-bundle-system, and @lumis-sh/wasm-bundle-backend.

  • package list: Languages
  • helper for npm parser packages in non-Node runtimes: withWasm() from @lumis-sh/lumis
  • helper for npm preset bundles in non-Node runtimes: withWasmBundle() from @lumis-sh/lumis
  • loading and resolver behavior: WASM and CDN
  • JavaScript runtime notes: JavaScript Runtime