The worlds smallest template rendering engine. No logic, non-iterable. Done.
npm install properjs-template --save-dev
var template = require( "properjs-template" );
var data = {
foo: "Bar"
};
var html = "<h1>{foo}</h1>";
// You can also use double brackets, your choice
// var html = "<h1>{{foo}}</h1>";
// Render some stuff
var rendered = template( html, data );
// Output:
// <h1>Bar</h1>