/simple_mustache

Dart implementation of a mustache subset for simple String templates with filters.

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

simple_mustache

Dart implementation of a mustache subset for simple String templates with filters.

This library implements dart:convert specification

Usage

// Create a mustache converter
final m = Mustache(map: {'name': 'David'});

// Convert a template
final output = m.convert('Hello, my name is {{ name }}.');