awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
developit avatar

developit/htm

0
View on GitHub↗
9,001 stars·178 forks·JavaScript·apache-2.0·16 views

Htm

htm is a build-less markup engine and JavaScript template parser that transforms template literals into element creation calls or structured objects during runtime. It serves as a hyperscript HTML template library and a utility for generating markup compatible with virtual DOM libraries.

The library allows for the creation of HTML-style markup using standard JavaScript tagged template literals, removing the requirement for an external transpiler or build-step compiler. It distinguishes itself by mapping template strings to custom functions that transform types and properties into specialized object trees.

The system includes capabilities for memoized template parsing and object-tree caching to reduce memory allocation and improve rendering speed. It supports binding to hyperscript functions to generate specific output formats based on the parsed markup.

Features

  • Virtual DOM Utilities - Provides utilities to generate virtual node representations from template literals for use with virtual DOM libraries.
  • Tagged Template Literals - Uses tagged template literals to create HTML-style markup without requiring a build step.
  • Literal Parsers - Parses JavaScript template strings and maps them to functions that generate structured object trees.
  • HTML Markup Templates - Enables writing HTML-like markup directly within JavaScript files for better readability.
  • Build-less Markup Engines - Acts as a build-less engine that transforms template literals into element creation calls during runtime.
  • Build-less Template Engines - Provides a way to evaluate HTML-style templates at runtime without needing an external transpiler or compiler.
  • HTML Templating Engines - Provides a library for creating HTML-style markup via tagged templates that functions as an HTML templating engine.
  • Hyperscript Document Construction - Transforms parsed markup into element creation calls using a provided hyperscript function.
  • Memoized Parsing - Stores the results of parsed template strings to avoid redundant processing during subsequent renders.
  • Template Caches - Implements a system for storing parsed templates in memory to reduce object creation and increase speed.
  • Hyperscript Bindings - Connects custom hyperscript functions to the template parser to generate specific output formats.
  • Template Compilation - Maps template strings to transformation functions that convert markup into specialized object trees.
  • High-Performance Rendering - Optimizes rendering speed and memory usage by caching parsed template results and reusing elements.
  • Element Tree Caching - Reuses previously created elements across the render tree to minimize memory allocation and improve execution speed.
  • Custom Template Tags - Allows mapping specific template strings to custom transformation functions to extend markup capabilities.
  • Component Libraries - Provides a JSX-like syntax using standard tagged templates.

Star history

Star history chart for developit/htmStar history chart for developit/htm

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Htm

Similar open-source projects, ranked by how many features they share with Htm.
  • wycats/handlebars.jswycats avatar

    wycats/handlebars.js

    18,651View on GitHub↗

    Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static templates with dynamic data. It functions as a logic-less template engine, separating presentation from business logic by restricting the complexity of expressions within templates. The project includes a precompiled template compiler that converts template strings into executable JavaScript functions. This mechanism reduces runtime overhead and improves rendering performance by shifting the compilation process to a build step. The engine provides a custom helper framework for ext

    JavaScript
    View on GitHub↗18,651
  • goofychris/art-templategoofychris avatar

    goofychris/art-template

    9,861View on GitHub↗

    art-template is a JavaScript templating engine and HTML template compiler that transforms custom syntax and script statements into optimized HTML output. It functions as a precompiled template engine that converts template source into standalone JavaScript functions to render dynamic content from data. The engine features a template inheritance framework that organizes layouts through nesting, blocks, and inclusions to create reusable components across multiple files. It incorporates automatic output sanitization and encoding to prevent cross-site scripting attacks. The system includes capab

    JavaScriptexpressjavascriptkoa
    View on GitHub↗9,861
  • trueadm/t7trueadm avatar

    trueadm/t7

    897View on GitHub↗

    T7 is a lightweight JavaScript framework designed for building modular, component-based user interfaces. It functions as a template-driven rendering engine that transforms standard tagged template literals into structured virtual DOM objects, allowing developers to define reusable interface elements without requiring complex build configurations or transpilation steps. The framework distinguishes itself through its runtime template processing and environment-aware output mapping. By intercepting template strings, it enables dynamic property injection and conditional control flow directly with

    JavaScript
    View on GitHub↗897
  • jantimon/html-webpack-pluginjantimon avatar

    jantimon/html-webpack-plugin

    10,728View on GitHub↗

    This project is a Webpack HTML generator and template engine that creates HTML files and automatically injects compiled script and style bundles. It functions as an asset injection tool and build process minifier to automate the production of web pages. The tool differentiates itself through a customizable template system that supports dynamic variable injection, programmatic content generation, and the ability to generate multiple distinct HTML entry points for multi-page applications. It also provides a hook-based lifecycle pipeline, allowing for the modification of assets and tags before t

    JavaScripthtml-webpack-pluginwebpack
    View on GitHub↗10,728
See all 30 alternatives to Htm→

Frequently asked questions

What does developit/htm do?

htm is a build-less markup engine and JavaScript template parser that transforms template literals into element creation calls or structured objects during runtime. It serves as a hyperscript HTML template library and a utility for generating markup compatible with virtual DOM libraries.

What are the main features of developit/htm?

The main features of developit/htm are: Virtual DOM Utilities, Tagged Template Literals, Literal Parsers, HTML Markup Templates, Build-less Markup Engines, Build-less Template Engines, HTML Templating Engines, Hyperscript Document Construction.

What are some open-source alternatives to developit/htm?

Open-source alternatives to developit/htm include: wycats/handlebars.js — Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static… goofychris/art-template — art-template is a JavaScript templating engine and HTML template compiler that transforms custom syntax and script… trueadm/t7 — T7 is a lightweight JavaScript framework designed for building modular, component-based user interfaces. It functions… jantimon/html-webpack-plugin — This project is a Webpack HTML generator and template engine that creates HTML files and automatically injects… aui/art-template — art-template is a JavaScript template engine and server-side rendering engine. It functions as an abstract syntax tree… mde/ejs — EJS is a JavaScript templating engine used to generate HTML by embedding executable JavaScript logic and dynamic data…