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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
twitter avatar

twitter/hogan.js

0
View on GitHub↗
5,124 stars·427 forks·JavaScript·Apache-2.0·14 vuestwitter.github.io/hogan.js↗

Hogan.js

hogan.js est un compilateur de templates sans logique et un moteur de templating Mustache. Il transforme des templates statiques en fonctions JavaScript exécutables pour générer des chaînes pilotées par les données sans utiliser de logique conditionnelle ou de boucle.

Le système se concentre sur la précompilation pour éliminer la surcharge d'analyse lors de l'exécution. Cela inclut une bibliothèque de templates précompilés et une interface en ligne de commande pour convertir les fichiers de template en JavaScript optimisé.

Le moteur gère la génération de contenu dynamique via la compilation de templates et le rendu de données. Il prend en charge des fragments d'UI réutilisables via des partials et permet des délimiteurs d'analyse personnalisables.

Features

  • Mustache Template Rendering - Merges data objects with Mustache templates to generate final string output for web pages or documents.
  • Dynamic Text Generation - Generates dynamic content by replacing template placeholders with data-driven values.
  • Template Compilation - Transforms Mustache template strings into executable JavaScript functions for high-performance interpolation.
  • Context-Aware Variable Resolution - Implements recursive lookups to retrieve values from data objects based on hierarchical template context.
  • Build-Time Precompilation - Converts templates into standalone JavaScript functions during a build step to eliminate runtime parsing.
  • Client-Side Template Rendering - Renders dynamic markup directly in the browser using data-bound Mustache templates.
  • Logic-less Template Engines - Provides a templating engine that maps dynamic content into structured output without embedded logic.
  • Template Data Merging - Merges compiled templates with data objects and partials to produce the final output string.
  • Template Partials - Supports the inclusion of external markup fragments as partials to enable modular template composition.
  • Delimiter Parsing Rules - Provides configurable start and end characters to define paired delimiters for template tags.
  • Precompilation Command Line Interfaces - Ships a command line interface for precompiling template files into JavaScript for improved performance.
  • Template Engines - Compiler for the Mustache template language.
  • Templating Engines - A compiler for the Mustache templating language.

Historique des stars

Graphique de l'historique des stars pour twitter/hogan.jsGraphique de l'historique des stars pour twitter/hogan.js

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait twitter/hogan.js ?

hogan.js est un compilateur de templates sans logique et un moteur de templating Mustache. Il transforme des templates statiques en fonctions JavaScript exécutables pour générer des chaînes pilotées par les données sans utiliser de logique conditionnelle ou de boucle.

Quelles sont les fonctionnalités principales de twitter/hogan.js ?

Les fonctionnalités principales de twitter/hogan.js sont : Mustache Template Rendering, Dynamic Text Generation, Template Compilation, Context-Aware Variable Resolution, Build-Time Precompilation, Client-Side Template Rendering, Logic-less Template Engines, Template Data Merging.

Quelles sont les alternatives open-source à twitter/hogan.js ?

Les alternatives open-source à twitter/hogan.js incluent : linkedin/dustjs — Dustjs is a JavaScript templating engine and asynchronous template renderer. It functions as an isomorphic HTML… olado/dot — doT is a compiled JavaScript template engine and rendering system used to generate dynamic text and HTML for both… wycats/handlebars.js — Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static… handlebars-lang/handlebars.js — Handlebars.js is a JavaScript templating engine and logic-less template library used to generate HTML or text by… lunet-io/scriban — Scriban is a .NET text templating engine and embedded scripting language used for dynamic text generation. It… mde/ejs — EJS is a JavaScript templating engine used to generate HTML by embedding executable JavaScript logic and dynamic data…

Alternatives open source à Hogan.js

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Hogan.js.
  • linkedin/dustjsAvatar de linkedin

    linkedin/dustjs

    2,913Voir sur GitHub↗

    Dustjs is a JavaScript templating engine and asynchronous template renderer. It functions as an isomorphic HTML generator, producing consistent output across both client and server environments. The system employs a logic-less template syntax to separate presentation from business logic, utilizing simple tags for iteration and conditional checks. It supports asynchronous data resolution, allowing the rendering process to pause and resume as external data sources respond. The engine provides capabilities for dynamic HTML generation, server-side rendering, and client-side templating. It utiliz

    JavaScript
    Voir sur GitHub↗2,913
  • olado/dotAvatar de olado

    olado/doT

    5,043Voir sur GitHub↗

    doT is a compiled JavaScript template engine and rendering system used to generate dynamic text and HTML for both browser-based interfaces and Node.js server-side environments. It transforms template strings into executable JavaScript functions to produce text output across different runtime environments. The system focuses on pre-compiling template source files into standalone JavaScript modules at build time. This process eliminates runtime compilation overhead, increases execution speed, and prevents malicious code injection. The engine supports logic-based interpolation using conditional

    JavaScript
    Voir sur GitHub↗5,043
  • wycats/handlebars.jsAvatar de wycats

    wycats/handlebars.js

    18,651Voir sur 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
    Voir sur GitHub↗18,651
  • handlebars-lang/handlebars.jsAvatar de handlebars-lang

    handlebars-lang/handlebars.js

    18,640Voir sur GitHub↗

    Handlebars.js is a JavaScript templating engine and logic-less template library used to generate HTML or text by merging data objects with templates. It utilizes an abstract syntax tree parser to transform template strings into executable JavaScript functions. The system separates data from presentation by restricting complex logic to external helper functions rather than the template itself. It features a precompiled template compiler that converts templates into functions before deployment to increase execution speed and reduce startup latency. The engine covers a broad range of content ge

    JavaScripthandlebarsmustachetemplates
    Voir sur GitHub↗18,640
  • Voir les 30 alternatives à Hogan.js→