/mustache-csharp

Mustache text template engine written in C#

Primary LanguageC#MIT LicenseMIT

MustacheC#

MustacheC# is an implementation of the mustache template engine in C#

Installation

NuGet package is coming soon.

Usage

Quick Example:

object data = new { subject = "world" };
var template = "Hello, {{subject}}!";
var result = new MustacheRenderer().Render(template, data);
console.WriteLine(result); // => "Hello world!"

See the manual mustache(5) for further information.

Running the tests

Run all tests:

cd tests/Mustache.Test
dotnet test

spec

Thanks

This project based on following projects.

License

This project is licensed under the terms of the MIT license.