Popularity
5.4
Stable
Activity
4.8
-
55
5
11

Monthly Downloads: 15,506
Programming language: Elixir
License: MIT License
Tags: Templating     Mustache    
Latest version: v0.2.0

mustache alternatives and similar packages

Based on the "Templating" category.
Alternatively, view mustache alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of mustache or a related project?

Add another 'Templating' Package

README

Mustache

Build Status

Minimal templating with {{mustaches}} in Elixir - http://mustache.github.com/

Prerequisites

  • Elixir 1.0.x

Installation

In your mix.exs, add Mustache as dependency:

defp deps do
  [{:mustache, "~> 0.3.0"}]
end

Example

Mustache.render("Hello, my name is {{name}}", %{name: "Alice"})

Tests

The test folder contains tests showing the currently implemented feature set. The tests are taken from the mustache specs project https://github.com/mustache/spec.

Run currently passing tests:

$ mix test --exclude pending:true

Run all tests:

$ mix test