Skip to content

KLab/mustache-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Mustache text template engine written in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published