Official HTML compiler for the Mahal framework (v1.4.1). Transforms Mahal-specific HTML templates into render functions, supporting directives, expressions, and component nesting. Designed exclusively for Mahal's reactive UI system, it is tightly coupled to the framework and not intended for standalone use. Releases are less frequent, tied to Mahal updates. Ships TypeScript types.
npm install mahal-html-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles a simple Mahal template with an interpolation expression.
Ensure your project uses Mahal >=1.0.0.
Precompile templates during build step using Mahal CLI or bundler plugin.
Validate templates manually before compilation.
Use ES module import syntax.
Use `import { compile } from 'mahal-html-compiler'`No dependency data recorded yet.