trending
fmerian

3mo ago

HMPL - Lightweight server-oriented template language for JavaScript

HMPL.js provides the flexibility to build server-driven templates with minimal JavaScript. With its block-based syntax, customizable fetch requests, and built-in support for forms, events, and time-based syncing you can deliver dynamic user interfaces without relying on a heavy framework. HMPL integrates with JSON5 for expressive object syntax and DOMPurify for safe HTML rendering, all in just a few kilobytes.
Anthony Max

10mo ago

HMPL.js - Template language for displaying UI from server to client

Server-oriented customizable templating for JavaScript. It is based on customizable requests sent to the server via fetch and processed into ready-made HTML. The language is integrated with JSON5 and DOMPurify. Alternative to HTMX and Alpine.js.