simple_mustache

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


License
BSD-3-Clause

Documentation

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 }}.');