compiled_mustache 1.0.2

  • Installing
  • Versions
  • 57


Travis Pub

This is a lightweight mustache renderer for Dart. It is 2-15x faster than mustache4dart, and provides the ability to cache parsed templates to avoid having to read from disk and parse files on every render.



  • Switch to automatic deployment


  • Initial release

1. Depend on it

Add this to your package's pubspec.yaml file:

  compiled_mustache: "^1.0.2"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:compiled_mustache/compiled_mustache.dart';
Version Uploaded Documentation Archive
1.0.2 Dec 2, 2017 Go to the documentation of compiled_mustache 1.0.2 Download compiled_mustache 1.0.2 archive
1.0.1 Nov 29, 2017 Go to the documentation of compiled_mustache 1.0.1 Download compiled_mustache 1.0.1 archive
1.0.0 Nov 29, 2017 Go to the documentation of compiled_mustache 1.0.0 Download compiled_mustache 1.0.0 archive


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


Describes how popular the package is relative to other packages. [more]
19 / 100
Code health derived from static analysis. [more]
95 / 100
Reflects how tidy and up-to-date the package is. [more]
95 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: Flutter, other

Primary library: package:compiled_mustache/compiled_mustache.dart with components: io.


  • Fix lib/src/context.dart.

    Strong-mode analysis of lib/src/context.dart failed with the following error:

    line: 40 col: 20
    The operator '[]' isn't defined for the class 'Object'.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use compiled_mustache.dart.


Package Constraint Resolved Available
Dev dependencies
benchmark_harness >=1.0.0 <2.0.0
grinder ^0.8.0
mustache4dart ^2.1.0
path ^1.5.0
test ^0.12.27
yaml ^2.1.13