Skip to content

t-mullen/microstache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


HyperHost
Microstache

558 byte mustache templating.


Build Status Standard - JavaScript Style Guide

Just include it in your project:

<script src="microstache.min.js"></script>

Then use Microstache.template to template a string with the data in an object.

var template = '<h1>{{someData}}</h1>'
var data = {
  someData: 'A String',
}
var templated = Microstache.template(template, data)  // '<h1>A String</h1>'

Fast and powerful string templating for less than a kB. Can it get simpler than that?


If you need more than just object templating, try Mustache.js

Releases

No releases published

Packages

No packages published