hgnify
v0.9.0
Published
Browserify Transform to wrap precompiled Hogan Templates around an anonymous function for direct rendering function access.
Downloads
7
Readme
Installation
$ npm install hgnifyUsage
example.html
<div>
Hello {{hello}}!!!
</div>
example.js - A browerify module
//Supports '.hgn', '.ms', '.hogan', '.mustache','.html', '.hbs' extensions
var Template = require('example.html');
var data = {
hello: "World";
}
var templateHTML = Template(data);
