mizu.js is an HTML templating library that uses directives on ordinary HTML elements. Its documentation demonstrates client-side rendering in the browser, server-side rendering and static-site generation. The examples cover runtimes including Deno, Node and Bun, giving developers several ways to use the same templating approach instead of tying it to one hosting environment.
Directives cover conditional display, loops, text and HTML content, events and attribute bindings. The documentation also includes two-way input binding, custom elements and rendering helpers for code and Markdown. Developers can start with an automatically loaded browser script or import the library explicitly. The project is MIT-licensed and publishes its implementation and documentation source on GitHub.




