Skip to content
Mustache templates for Elixir
Branch: master
Clone or download

Latest commit

schultyy Merge pull request #13 from pylon/deep-nesting
Support deeply nested paths in templates
Latest commit a1314b2 Jan 4, 2018


Type Name Latest commit message Commit time
Failed to load latest commit information.
config Initial commit Apr 4, 2015
lib Support deeply nested paths in templates Oct 5, 2017
test Support deeply nested paths in templates Oct 5, 2017
.gitignore add doc directory to gitignore Jan 29, 2017
.travis.yml Update .travis.yml to build on more Elixir versions Jan 30, 2017
LICENSE Create LICENSE Apr 12, 2015 Update Hex version in README Sep 4, 2017
mix.exs Increase version number Jan 29, 2017
mix.lock add mix.lock Jan 29, 2017


Build Status

Minimal templating with {{mustaches}} in Elixir -


  • Elixir 1.0.x


In your mix.exs, add Mustache as dependency:

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


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


The test folder contains tests showing the currently implemented feature set. The tests are taken from the mustache specs project

Run currently passing tests:

$ mix test --exclude pending:true

Run all tests:

$ mix test
You can’t perform that action at this time.