Minimal templating with {{mustaches}} in Elixir - http://mustache.github.com/
- Elixir 1.x
In your mix.exs, add Mustache as dependency:
defp deps do
[{:mustache, "~> 0.5.0"}]
endMustache.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 https://github.com/mustache/spec.
Run currently passing tests:
$ mix test --exclude pending:trueRun all tests:
$ mix testCopyright (c) 2023 Jan Schulte
This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See the LICENSE.md file for more details.