Skip to main content

Runtimes

Main packages

RuntimePackageReference
CLIlumis-cli (lumis binary)README
Rustlumisdocs.rs
ElixirlumisHexDocs
JavaScript@lumis-sh/lumisnpm
Browsers / CDN@lumis-sh/lumisnpm
Javalumis4jGitHub

@lumis-sh/lumis covers JavaScript runtimes such as Node.js, Bun, and Deno, plus browser usage through bundlers or CDN imports.

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