Alternatives to Mustache logo

Alternatives to Mustache

Handlebars.js, TypeScript, Pug, Hogan.js, and Smarty are the most popular alternatives and competitors to Mustache.
1.4K
173
+ 1
50

What is Mustache and what are its top alternatives?

Mustache is a logic-less template syntax. It can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided in a hash or object. We call it "logic-less" because there are no if statements, else clauses, or for loops. Instead there are only tags. Some tags are replaced with a value, some nothing, and others a series of values.
Mustache is a tool in the Templating Languages & Extensions category of a tech stack.
Mustache is an open source tool with 13.4K GitHub stars and 2.3K GitHub forks. Here鈥檚 a link to Mustache's open source repository on GitHub

Mustache alternatives & related posts

related TypeScript posts

Yshay Yaacobi
Yshay Yaacobi
Software Engineer | 27 upvotes 203.6K views
atSolutoSoluto
Docker Swarm
Docker Swarm
Kubernetes
Kubernetes
Visual Studio Code
Visual Studio Code
Go
Go
TypeScript
TypeScript
JavaScript
JavaScript
C#
C#
F#
F#
.NET
.NET

Our first experience with .NET core was when we developed our OSS feature management platform - Tweek (https://github.com/soluto/tweek). We wanted to create a solution that is able to run anywhere (super important for OSS), has excellent performance characteristics and can fit in a multi-container architecture. We decided to implement our rule engine processor in F# , our main service was implemented in C# and other components were built using JavaScript / TypeScript and Go.

Visual Studio Code worked really well for us as well, it worked well with all our polyglot services and the .Net core integration had great cross-platform developer experience (to be fair, F# was a bit trickier) - actually, each of our team members used a different OS (Ubuntu, macos, windows). Our production deployment ran for a time on Docker Swarm until we've decided to adopt Kubernetes with almost seamless migration process.

After our positive experience of running .Net core workloads in containers and developing Tweek's .Net services on non-windows machines, C# had gained back some of its popularity (originally lost to Node.js), and other teams have been using it for developing microservices, k8s sidecars (like https://github.com/Soluto/airbag), cli tools, serverless functions and other projects...

See more
Kir Shatrov
Kir Shatrov
Production Engineer at Shopify | 18 upvotes 122.8K views
atShopifyShopify
Prototype
Prototype
TypeScript
TypeScript
React
React
JavaScript
JavaScript
jQuery
jQuery
#Languages
#FrameworksFullStack

The client-side stack of Shopify Admin has been a long journey. It started with HTML templates, jQuery and Prototype. We moved to Batman.js, our in-house Single-Page-Application framework (SPA), in 2013. Then, we re-evaluated our approach and moved back to statically rendered HTML and vanilla JavaScript. As the front-end ecosystem matured, we felt that it was time to rethink our approach again. Last year, we started working on moving Shopify Admin to React and TypeScript.

Many things have changed since the days of jQuery and Batman. JavaScript execution is much faster. We can easily render our apps on the server to do less work on the client, and the resources and tooling for developers are substantially better with React than we ever had with Batman.

#FrameworksFullStack #Languages

See more
Hogan.js logo

Hogan.js

298
19
3
298
19
+ 1
3
A compiler for the Mustache templating language
Hogan.js logo
Hogan.js
VS
Mustache logo
Mustache
Smarty logo

Smarty

204
7
0
204
7
+ 1
0
Template engine for PHP
    Be the first to leave a pro
    Smarty logo
    Smarty
    VS
    Mustache logo
    Mustache
    Jinja2 logo

    Jinja2

    136
    98
    5
    136
    98
    + 1
    5
    Full featured template engine for Python
    Jinja2 logo
    Jinja2
    VS
    Mustache logo
    Mustache
    Flow (JS) logo

    Flow (JS)

    124
    35
    0
    124
    35
    + 1
    0
    Flow is a static type checker for Javascript (by Facebook)
      Be the first to leave a pro
      Flow (JS) logo
      Flow (JS)
      VS
      Mustache logo
      Mustache

      related Flow (JS) posts

      Jarvis Stubblefield
      Jarvis Stubblefield
      Flow (JS)
      Flow (JS)
      TypeScript
      TypeScript

      I use TypeScript because it isn't just about validating the types I'm expecting to receive though that is a huge part of it too. Flow (JS) seems to be a type system only. TypeScript also allows you to use the latest features of JavaScript while also providing the type checking. To be fair to Flow (JS), I have not used it, but likely wouldn't have due to the additional features I get from TypeScript.

      See more
      David Koblas
      David Koblas
      VP Engineering at Payment Rails | 9 upvotes 6.3K views
      atPayment RailsPayment Rails
      TypeScript
      TypeScript
      Flow (JS)
      Flow (JS)
      JavaScript
      JavaScript

      We originally (in 2017) started rewriting our platform from JavaScript to Flow (JS) but found the library support for Flow was lacking. After switching gears to TypeScript we've never looked back. At this point we're finding that frontend and backend libraries are supporting TypeScript out of the box and where the support is missing that the commuity is typically got a solution in hand.

      See more
      Liquid logo

      Liquid

      33
      2
      0
      33
      2
      + 1
      0
      Open-source template language written in Ruby
        Be the first to leave a pro
        Liquid logo
        Liquid
        VS
        Mustache logo
        Mustache
        Twig logo

        Twig

        32
        12
        0
        32
        12
        + 1
        0
        A flexible, fast, and secure template engine
          Be the first to leave a pro
          Twig logo
          Twig
          VS
          Mustache logo
          Mustache
          EJS logo

          EJS

          27
          14
          0
          27
          14
          + 1
          0
          An Embedded JavaScript templating Language
            Be the first to leave a pro
            EJS logo
            EJS
            VS
            Mustache logo
            Mustache
            PureScript logo

            PureScript

            25
            16
            4
            25
            16
            + 1
            4
            A strongly-typed language that compiles to Javascript
            PureScript logo
            PureScript
            VS
            Mustache logo
            Mustache
            RactiveJS logo

            RactiveJS

            20
            22
            18
            20
            22
            + 1
            18
            Next-generation DOM manipulation
            RactiveJS logo
            RactiveJS
            VS
            Mustache logo
            Mustache
            Haxe logo

            Haxe

            18
            3
            0
            18
            3
            + 1
            0
            The Cross-platform Toolkit
              Be the first to leave a pro
              Haxe logo
              Haxe
              VS
              Mustache logo
              Mustache
              Nunjucks logo

              Nunjucks

              15
              4
              0
              15
              4
              + 1
              0
              A templating language for JavaScript
                Be the first to leave a pro
                Nunjucks logo
                Nunjucks
                VS
                Mustache logo
                Mustache
                Jsonnet logo

                Jsonnet

                11
                1
                0
                11
                1
                + 1
                0
                A data templating language for app and tool developers
                  Be the first to leave a pro
                  Jsonnet logo
                  Jsonnet
                  VS
                  Mustache logo
                  Mustache
                  Dust logo

                  Dust

                  5
                  5
                  0
                  5
                  5
                  + 1
                  0
                  Asynchronous templates for the browser and node.js
                    Be the first to leave a pro
                    Dust logo
                    Dust
                    VS
                    Mustache logo
                    Mustache
                    Jade Language logo

                    Jade Language

                    4
                    0
                    0
                    4
                    0
                    + 1
                    0
                    A Node Template Engine
                      Be the first to leave a pro
                      Jade Language logo
                      Jade Language
                      VS
                      Mustache logo
                      Mustache
                      Hamlet logo

                      Hamlet

                      2
                      11
                      0
                      2
                      11
                      + 1
                      0
                      Simple and powerful reactive templating
                        Be the first to leave a pro
                        Hamlet logo
                        Hamlet
                        VS
                        Mustache logo
                        Mustache
                        doT.js logo

                        doT.js

                        2
                        0
                        0
                        2
                        0
                        + 1
                        0
                        A JavaScript template engine for Node.js
                          Be the first to leave a pro
                          doT.js logo
                          doT.js
                          VS
                          Mustache logo
                          Mustache