{"library":"mahal-html-compiler","title":"mahal-html-compiler","description":"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.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install mahal-html-compiler"],"cli":null},"imports":["import { compile } from 'mahal-html-compiler'","import { MahalHTMLCompiler } from 'mahal-html-compiler'","import type { CompileOptions } from 'mahal-html-compiler'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { compile } from 'mahal-html-compiler';\n\nconst template = '<div>{{ message }}</div>';\nconst options = { filename: 'App.mahal' };\nconst result = compile(template, options);\nconsole.log(result.code);","lang":"typescript","description":"Compiles a simple Mahal template with an interpolation expression.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}